diff --git a/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java b/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java index f5126368..7ee61ac1 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java +++ b/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java @@ -335,16 +335,12 @@ public static Process launch( LogHelper.error(e); } }).start(); - // Resolve java bin and set permissions - LogHelper.debug("Resolving JVM binary"); - //Path javaBin = IOHelper.resolveJavaBin(jvmDir); checkJVMBitsAndVersion(); // Fill CLI arguments List args = new LinkedList<>(); boolean wrapper = isUsingWrapper(); - Path javaBin; - /*if (wrapper) javaBin = AvanguardStarter.wrapper; - else*/ + LogHelper.debug("Resolving JVM binary"); + Path javaBin = null; if (isDownloadJava) { //Linux и Mac не должны скачивать свою JVM if (JVMHelper.OS_TYPE == OS.MUSTDIE)