]> source.dussan.org Git - dcevm.git/commitdiff
"#168 Extend Installer for SAP JVM" 169/head
authorDenis Zygann <d.zygann@web.de>
Mon, 19 Aug 2019 21:22:41 +0000 (23:22 +0200)
committerDenis Zygann <denis.zygann@md.de>
Mon, 19 Aug 2019 21:22:41 +0000 (23:22 +0200)
installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java

index 1966bd9ccfe4ca0a9d982a6b1613b851d9d370d8..18a2e55889ac22f838e8bb96d14003ddd2cfa6fb 100644 (file)
@@ -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 {