mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] Java search in Windows
This commit is contained in:
parent
579fec1518
commit
62e392359d
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) {
|
||||
Path rootDrive = IOHelper.getRoot();
|
||||
Path rootDrive = IOHelper.getRoot().concat("\\\\");
|
||||
try {
|
||||
trySearchJava(javaPaths, result, rootDrive.resolve("Program Files").resolve("Java"));
|
||||
trySearchJava(javaPaths, result, rootDrive.resolve("Program Files").resolve("AdoptOpenJDK"));
|
||||
|
|
Loading…
Reference in a new issue