Merge pull request #2429 from Richard-Rogalski/GENTOOweloveyou

[Linux] Auto-detect Gentoo installed JDKs
This commit is contained in:
seth authored and GitHub committed 2024-06-22 19:14:46 -04:00
commit e0063b1ee7
1 file changed
+4
+4
View File
@@ -415,6 +415,10 @@ QList<QString> JavaUtils::FindJavaPaths()
scanJavaDirs("/usr/lib/jvm");
scanJavaDirs("/usr/lib64/jvm");
scanJavaDirs("/usr/lib32/jvm");
// Gentoo's locations for openjdk and openjdk-bin respectively
scanJavaDir("/usr/lib64");
scanJavaDir("/usr/lib");
scanJavaDir("/opt");
// javas stored in Prism Launcher's folder
scanJavaDirs("java");
// manually installed JDKs in /opt