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");
|
scanJavaDir("/usr/lib32/jvm");
|
||||||
// javas stored in MultiMC's folder
|
// javas stored in MultiMC's folder
|
||||||
scanJavaDir("java");
|
scanJavaDir("java");
|
||||||
|
// manually installed JDKs in /opt
|
||||||
|
scanJavaDir("/opt/jdk");
|
||||||
|
scanJavaDir("/opt/jdks");
|
||||||
return javas;
|
return javas;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user