Merge pull request #4230 from NewoIsTaken/patch-1

GH-4224 Scan 64 bit lib directory to find Java
This commit is contained in:
Petr Mrázek 2021-11-28 21:45:36 +01:00 committed by GitHub
commit 241086883e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -394,6 +394,7 @@ QList<QString> JavaUtils::FindJavaPaths()
scanJavaDir("/usr/java"); scanJavaDir("/usr/java");
// general locations used by distro packaging // general locations used by distro packaging
scanJavaDir("/usr/lib/jvm"); scanJavaDir("/usr/lib/jvm");
scanJavaDir("/usr/lib64/jvm");
scanJavaDir("/usr/lib32/jvm"); scanJavaDir("/usr/lib32/jvm");
// javas stored in MultiMC's folder // javas stored in MultiMC's folder
scanJavaDir("java"); scanJavaDir("java");