marko marko - 6 months ago 19
Java Question

Determine JRE architecture 32-bit vs 64-bit

The thing I'm trying to find out is if my JRE is for 32-bit or 64-bit.

And yes, I have tried

java -version / -showversion / -fullversion
but it doesn't say anything useful (at least not to me).

This is what I get when I do
java -version
:

java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode)


So all I have access to is a zipped JRE's bin-folder, a different JRE is installed and setup, that's not the one I'm trying to check the version of.

Any ideas?

Answer
System.getProperty("sun.arch.data.model");
Comments