mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] Фикс поиска exe при isDownloadJava
This commit is contained in:
parent
ff569cc2ec
commit
103b72981f
1 changed files with 1 additions and 1 deletions
|
@ -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")));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue