mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-29 00:20:21 +00:00
NOISSUE Fix detection for 32-bit Azul or Bellsoft Java
Co-authored-by: Pedro Cunha <pedroagracio@gmail.com>
This commit is contained in:
parent
c15bd655f1
commit
2e78b64058
@ -273,13 +273,13 @@ QList<QString> JavaUtils::FindJavaPaths()
|
|||||||
QList<JavaInstallPtr> ZULU64s = this->FindJavaFromRegistryKey(
|
QList<JavaInstallPtr> ZULU64s = this->FindJavaFromRegistryKey(
|
||||||
KEY_WOW64_64KEY, "SOFTWARE\\Azul Systems\\Zulu", "InstallationPath");
|
KEY_WOW64_64KEY, "SOFTWARE\\Azul Systems\\Zulu", "InstallationPath");
|
||||||
QList<JavaInstallPtr> ZULU32s = this->FindJavaFromRegistryKey(
|
QList<JavaInstallPtr> ZULU32s = this->FindJavaFromRegistryKey(
|
||||||
KEY_WOW64_64KEY, "SOFTWARE\\Azul Systems\\Zulu", "InstallationPath");
|
KEY_WOW64_32KEY, "SOFTWARE\\Azul Systems\\Zulu", "InstallationPath");
|
||||||
|
|
||||||
// BellSoft Liberica
|
// BellSoft Liberica
|
||||||
QList<JavaInstallPtr> LIBERICA64s = this->FindJavaFromRegistryKey(
|
QList<JavaInstallPtr> LIBERICA64s = this->FindJavaFromRegistryKey(
|
||||||
KEY_WOW64_64KEY, "SOFTWARE\\BellSoft\\Liberica", "InstallationPath");
|
KEY_WOW64_64KEY, "SOFTWARE\\BellSoft\\Liberica", "InstallationPath");
|
||||||
QList<JavaInstallPtr> LIBERICA32s = this->FindJavaFromRegistryKey(
|
QList<JavaInstallPtr> LIBERICA32s = this->FindJavaFromRegistryKey(
|
||||||
KEY_WOW64_64KEY, "SOFTWARE\\BellSoft\\Liberica", "InstallationPath");
|
KEY_WOW64_32KEY, "SOFTWARE\\BellSoft\\Liberica", "InstallationPath");
|
||||||
|
|
||||||
// List x64 before x86
|
// List x64 before x86
|
||||||
java_candidates.append(JRE64s);
|
java_candidates.append(JRE64s);
|
||||||
|
Loading…
Reference in New Issue
Block a user