diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-06-28 08:49:18 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-06-28 08:49:18 +0200 |
commit | 30b1f5e5cf935689fc628e37016e650655153d00 (patch) | |
tree | 3e03af0b1e84306214347b7c0ba41f6d99ed2e42 /logic | |
parent | d6e5c472b51b3150cdac0e4b63ca89a171d881af (diff) | |
parent | 7f4073840a9732d03c9f71f9baa08502f0bf2d94 (diff) | |
download | MultiMC-30b1f5e5cf935689fc628e37016e650655153d00.tar MultiMC-30b1f5e5cf935689fc628e37016e650655153d00.tar.gz MultiMC-30b1f5e5cf935689fc628e37016e650655153d00.tar.lz MultiMC-30b1f5e5cf935689fc628e37016e650655153d00.tar.xz MultiMC-30b1f5e5cf935689fc628e37016e650655153d00.zip |
Merge branch 'feature/fix_intel' into develop
Conflicts:
CMakeLists.txt
changelog.yaml
gui/MainWindow.cpp
Diffstat (limited to 'logic')
-rw-r--r-- | logic/java/JavaUtils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/logic/java/JavaUtils.cpp b/logic/java/JavaUtils.cpp index 1be93a9b..09719c73 100644 --- a/logic/java/JavaUtils.cpp +++ b/logic/java/JavaUtils.cpp @@ -122,7 +122,7 @@ QList<JavaVersionPtr> JavaUtils::FindJavaFromRegistryKey(DWORD keyType, QString javaVersion->id = subKeyName; javaVersion->arch = archType; javaVersion->path = - QDir(PathCombine(value, "bin")).absoluteFilePath("java.exe"); + QDir(PathCombine(value, "bin")).absoluteFilePath("javaw.exe"); javas.append(javaVersion); } @@ -152,12 +152,12 @@ QList<QString> JavaUtils::FindJavaPaths() KEY_WOW64_32KEY, "SOFTWARE\\JavaSoft\\Java Development Kit"); java_candidates.append(JRE64s); - java_candidates.append(MakeJavaPtr("C:/Program Files/Java/jre7/bin/java.exe")); - java_candidates.append(MakeJavaPtr("C:/Program Files/Java/jre6/bin/java.exe")); + java_candidates.append(MakeJavaPtr("C:/Program Files/Java/jre7/bin/javaw.exe")); + java_candidates.append(MakeJavaPtr("C:/Program Files/Java/jre6/bin/javaw.exe")); java_candidates.append(JDK64s); java_candidates.append(JRE32s); - java_candidates.append(MakeJavaPtr("C:/Program Files (x86)/Java/jre7/bin/java.exe")); - java_candidates.append(MakeJavaPtr("C:/Program Files (x86)/Java/jre6/bin/java.exe")); + java_candidates.append(MakeJavaPtr("C:/Program Files (x86)/Java/jre7/bin/javaw.exe")); + java_candidates.append(MakeJavaPtr("C:/Program Files (x86)/Java/jre6/bin/javaw.exe")); java_candidates.append(JDK32s); java_candidates.append(MakeJavaPtr(this->GetDefaultJava()->path)); |