[FIX] Undo changes

This commit is contained in:
Gravit 2021-07-14 00:07:13 +07:00 committed by GitHub
parent 62e392359d
commit f9c644ff4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ public static List<JavaVersion> findJava() {
}
}
if (JVMHelper.OS_TYPE == JVMHelper.OS.MUSTDIE) {
Path rootDrive = IOHelper.getRoot().concat("\\\\");
Path rootDrive = IOHelper.getRoot();
try {
trySearchJava(javaPaths, result, rootDrive.resolve("Program Files").resolve("Java"));
trySearchJava(javaPaths, result, rootDrive.resolve("Program Files").resolve("AdoptOpenJDK"));