fix(launch): On Linux x86_64, Minecraft 1.12.2- are not compatible with JDK 9+.

This commit is contained in:
huanghongxun
2021-10-05 22:10:46 +08:00
parent 57e6765bfd
commit 271885a85e
2 changed files with 14 additions and 1 deletions

View File

@@ -420,6 +420,9 @@ public final class LauncherHelper {
case VANILLA_JAVA_8:
Controllers.dialog(i18n("launch.advice.java8_1_13"), i18n("message.error"), MessageType.ERROR, breakAction);
return null;
case VANILLA_LINUX_JAVA_8:
Controllers.dialog(i18n("launch.advice.vanilla_linux_java_8"), i18n("message.error"), MessageType.ERROR, breakAction);
return null;
case LAUNCH_WRAPPER:
Controllers.dialog(i18n("launch.advice.java9") + "\n" + i18n("launch.advice.uncorrected"), i18n("message.error"), MessageType.ERROR, breakAction);
return null;