From 8a84f9b4d5e112eaaaaf43e843413783d96647c9 Mon Sep 17 00:00:00 2001 From: Denis Zygann Date: Mon, 19 Aug 2019 23:22:41 +0200 Subject: "#168 Extend Installer for SAP JVM" --- .../src/main/java/com/github/dcevm/installer/ConfigurationInfo.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3