From 103b72981fd05a54b23654bcf9bf8db1c584e10d Mon Sep 17 00:00:00 2001 From: Gravit Date: Thu, 24 Jan 2019 21:34:32 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=B8=D1=81=D0=BA=D0=B0=20exe=20=D0=BF=D1=80=D0=B8=20isDownloa?= =?UTF-8?q?dJava?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/ru/gravit/launcher/guard/LauncherJavaGuard.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))); }