From: Denis Zygann Date: Mon, 19 Aug 2019 21:22:41 +0000 (+0200) Subject: "#168 Extend Installer for SAP JVM" X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F169%2Fhead;p=dcevm.git "#168 Extend Installer for SAP JVM" --- 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 {