mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
Проверка на Java 11
This commit is contained in:
parent
a9a9a78983
commit
441fdc92a4
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ public static void checkJVMBitsAndVersion() {
|
|||
}
|
||||
String jvmVersion = JVMHelper.RUNTIME_MXBEAN.getVmVersion();
|
||||
LogHelper.info(jvmVersion);
|
||||
if (jvmVersion.startsWith("10.") || jvmVersion.startsWith("9.")) {
|
||||
if (jvmVersion.startsWith("10.") || jvmVersion.startsWith("9.") || jvmVersion.startsWith("11.")) {
|
||||
String error = String.format("У Вас установлена Java %s. Для правильной работы необходима Java 8", JVMHelper.RUNTIME_MXBEAN.getVmVersion());
|
||||
LogHelper.error(error);
|
||||
JOptionPane.showMessageDialog(null, error);
|
||||
|
|
Loading…
Reference in a new issue