mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
Merge pull request #2429 from Richard-Rogalski/GENTOOweloveyou
[Linux] Auto-detect Gentoo installed JDKs
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user