aboutsummaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
Diffstat (limited to 'installer')
-rw-r--r--installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java b/installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java
index 1966bd9c..18a2e558 100644
--- a/installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java
+++ b/installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java
@@ -38,6 +38,7 @@ import java.util.regex.Pattern;
* @author Ivan Dubrov
* @author Jiri Bubnik
* @author Przemysław Rumik
+ * @author Denis Zygann
*/
public enum ConfigurationInfo {
@@ -262,7 +263,8 @@ public enum ConfigurationInfo {
}
public boolean is64Bit(Path jreDir) {
- return getVersionString(jreDir, false).contains("64-Bit");
+ String versionString = getVersionString(jreDir, false);
+ return versionString.contains("64-Bit") || versionString.contains("amd64");
}
public String getJavaVersion(Path jreDir) throws IOException {