diff --git a/Launcher/src/main/java/ru/gravit/launcher/guard/LauncherJavaGuard.java b/Launcher/src/main/java/ru/gravit/launcher/guard/LauncherJavaGuard.java index 06659f42..d48d406c 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/guard/LauncherJavaGuard.java +++ b/Launcher/src/main/java/ru/gravit/launcher/guard/LauncherJavaGuard.java @@ -16,7 +16,7 @@ public String getName() { @Override public Path getJavaBinPath() { if (JVMHelper.OS_TYPE == JVMHelper.OS.MUSTDIE) - return ClientLauncher.getJavaBinPath(); + return IOHelper.resolveJavaBin(ClientLauncher.getJavaBinPath()); else return IOHelper.resolveJavaBin(Paths.get(System.getProperty("java.home"))); }