diff options
author | Vladimir Dvorak <lada.dvorak7@gmail.com> | 2019-08-20 08:50:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-20 08:50:33 +0200 |
commit | 3573c7f6572d673c298cacc4ab760f5fe2a2836e (patch) | |
tree | 5403776628649c9b4cb75baa254f6110b22998c7 | |
parent | 9bc42d28c5cfc94cbfeb241ad08eb4e59f9e9344 (diff) | |
parent | 8a84f9b4d5e112eaaaaf43e843413783d96647c9 (diff) | |
download | dcevm-3573c7f6572d673c298cacc4ab760f5fe2a2836e.tar.gz dcevm-3573c7f6572d673c298cacc4ab760f5fe2a2836e.zip |
Merge pull request #169 from DenisZygann/master
"#168 Extend Installer for SAP JVM"
-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 { |