2020-12-19
java – How can I tell if I’m running in 64-bit JVM or 32-bit JVM (from within a program)?

The Question : 575 people think this question is useful 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? The Question Comments : Just out of curiosity, why would you need to know