mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Undo changes
This commit is contained in:
parent
62e392359d
commit
f9c644ff4e
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ public static List<JavaVersion> findJava() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (JVMHelper.OS_TYPE == JVMHelper.OS.MUSTDIE) {
|
if (JVMHelper.OS_TYPE == JVMHelper.OS.MUSTDIE) {
|
||||||
Path rootDrive = IOHelper.getRoot().concat("\\\\");
|
Path rootDrive = IOHelper.getRoot();
|
||||||
try {
|
try {
|
||||||
trySearchJava(javaPaths, result, rootDrive.resolve("Program Files").resolve("Java"));
|
trySearchJava(javaPaths, result, rootDrive.resolve("Program Files").resolve("Java"));
|
||||||
trySearchJava(javaPaths, result, rootDrive.resolve("Program Files").resolve("AdoptOpenJDK"));
|
trySearchJava(javaPaths, result, rootDrive.resolve("Program Files").resolve("AdoptOpenJDK"));
|
||||||
|
|
Loading…
Reference in a new issue