mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Add 'Eclipse Adoptium' to java search directory
This commit is contained in:
parent
cc6ed82afb
commit
58fd3a7e8b
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ public synchronized static List<JavaVersion> findJava() {
|
||||||
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"));
|
||||||
trySearchJava(javaPaths, result, rootDrive.resolve("Program Files").resolve("Eclipse Foundation")); //AdoptJDK rebranding
|
trySearchJava(javaPaths, result, rootDrive.resolve("Program Files").resolve("Eclipse Foundation")); //AdoptJDK rebranding
|
||||||
|
trySearchJava(javaPaths, result, rootDrive.resolve("Program Files").resolve("Eclipse Adoptium")); //AdoptJDK rebranding
|
||||||
trySearchJava(javaPaths, result, rootDrive.resolve("Program Files").resolve("BellSoft")); // LibericaJDK
|
trySearchJava(javaPaths, result, rootDrive.resolve("Program Files").resolve("BellSoft")); // LibericaJDK
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LogHelper.error(e);
|
LogHelper.error(e);
|
||||||
|
|
Loading…
Reference in a new issue