ClientLauncher fixes.

This commit is contained in:
zaxar163 2019-01-06 20:44:46 +04:00
parent bc0d2f48cb
commit 6fec76c07f
No known key found for this signature in database
GPG key ID: CEE900027AE098E0

View file

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