GH-4224 Scan 64 bit lib directory to find Java

This commit is contained in:
Owen Wang 2021-11-07 21:19:35 -05:00 committed by GitHub
parent 30602363d7
commit b1beeee11f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -386,6 +386,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");