summaryrefslogtreecommitdiffstats
path: root/logic
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-06-28 08:49:18 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-28 08:49:18 +0200
commit30b1f5e5cf935689fc628e37016e650655153d00 (patch)
tree3e03af0b1e84306214347b7c0ba41f6d99ed2e42 /logic
parentd6e5c472b51b3150cdac0e4b63ca89a171d881af (diff)
parent7f4073840a9732d03c9f71f9baa08502f0bf2d94 (diff)
downloadMultiMC-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.cpp10
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));