How do I detect which kind of JRE is installed — 32bit vs. 64bit

The JVM architecture in use can be retrieved using the “os.arch” property: System.getProperty(“os.arch”); The “os” part seems to be a bit of a misnomer, or perhaps the original designers did not expect JVMs to be running on architectures they weren’t written for. Return values seem to be inconsistent. The NetBeans Installer team are tackling the … Read more