mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 21:15:19 +00:00
Add detection of manually installed JDKs in /opt
This commit is contained in:
parent
8179a89103
commit
ba8af797a9
@ -381,6 +381,9 @@ QList<QString> JavaUtils::FindJavaPaths()
|
||||
scanJavaDir("/usr/lib32/jvm");
|
||||
// javas stored in MultiMC's folder
|
||||
scanJavaDir("java");
|
||||
// manually installed JDKs in /opt
|
||||
scanJavaDir("/opt/jdk");
|
||||
scanJavaDir("/opt/jdks");
|
||||
return javas;
|
||||
}
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user