java - How can I tell if I'm running in 64-bit JVM or 32-bit JVM (from within a program)? - Stack Ov
How can I tell if the JVM my application runs in is 32 bit or 64-bit? Specifically, what function or preference do I access to detect this within the program? ... Sun has a Java System property to determine the bitness of the JVM: 32 or 64: sun.arch.data....