Add detection of manually installed JDKs in /opt

This commit is contained in:
Colbie Dison 2021-06-22 11:56:05 -05:00
parent 8179a89103
commit ba8af797a9

View File

@ -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