diff options
author | Denis Zygann <d.zygann@web.de> | 2019-08-19 23:22:41 +0200 |
---|---|---|
committer | Denis Zygann <denis.zygann@md.de> | 2019-08-19 23:22:41 +0200 |
commit | 8a84f9b4d5e112eaaaaf43e843413783d96647c9 (patch) | |
tree | 5403776628649c9b4cb75baa254f6110b22998c7 /installer | |
parent | 9bc42d28c5cfc94cbfeb241ad08eb4e59f9e9344 (diff) | |
download | dcevm-8a84f9b4d5e112eaaaaf43e843413783d96647c9.tar.gz dcevm-8a84f9b4d5e112eaaaaf43e843413783d96647c9.zip |
"#168 Extend Installer for SAP JVM"
Diffstat (limited to 'installer')
-rw-r--r-- | installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java | 4 |
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 { |