How can I tell if the JVM in which my application runs is 32 bit or 64-bit? Specifically, what functions or properties I can used to detect this within the program?
To get the version of JVM currently running the program
System.out.println(Runtime.class.getPackage().getImplementationVersion());