List of utility methods to do JVM is 64 Bit
boolean | is64Bit() is Bit boolean result; if (System.getProperty("os.name").contains("Windows")) { result = (System.getenv("ProgramFiles(x86)") != null); } else { result = (System.getProperty("os.arch").contains("64")); return result; |
boolean | is64Bit() is Bit return System.getProperty("sun.arch.data.model").contains("64"); |
boolean | is64Bit() is Bit return osArch.contains("64"); |
boolean | is64Bit() is Bit for (String prop : PROPERTIES_64) { String value = System.getProperty(prop); if (value != null && value.indexOf("64") >= 0) { return true; return false; |
Boolean | is64Bit() is Bit Boolean is64bit = null; if (isWindows()) { is64bit = (System.getenv("ProgramFiles(x86)") != null); } else { is64bit = (System.getProperty("os.arch").indexOf("64") != -1); return is64bit; |
boolean | is64Bit() Find out if application is running on 64bit java. return "64".equals(System.getProperty("sun.arch.data.model")); |
boolean | is64Bit() is Bit Integer bitCount = getBitCount();
return (bitCount != null) && (bitCount == 64);
|
boolean | is64Bit() is Bit if (isWindows()) { return (System.getenv("ProgramFiles(x86)") != null); } else { return (System.getProperty("os.arch").indexOf("64") != -1); |
boolean | is64Bit() is Bit return System.getProperty("os.arch").indexOf("64") != -1 || System.getProperty("sun.arch.data.model").indexOf("64") != -1; |
boolean | is64BitJavaOnMac() True if this JVM is running 64 bit Java on a Mac. return isMac() && System.getProperty("os.arch").equals("x86_64"); |