[FIX] Фикс поиска exe при isDownloadJava

This commit is contained in:
Gravit 2019-01-24 21:34:32 +07:00
parent ff569cc2ec
commit 103b72981f

View file

@ -16,7 +16,7 @@ public String getName() {
@Override @Override
public Path getJavaBinPath() { public Path getJavaBinPath() {
if (JVMHelper.OS_TYPE == JVMHelper.OS.MUSTDIE) if (JVMHelper.OS_TYPE == JVMHelper.OS.MUSTDIE)
return ClientLauncher.getJavaBinPath(); return IOHelper.resolveJavaBin(ClientLauncher.getJavaBinPath());
else else
return IOHelper.resolveJavaBin(Paths.get(System.getProperty("java.home"))); return IOHelper.resolveJavaBin(Paths.get(System.getProperty("java.home")));
} }