How to determine VM's bitmode (32bit or 64bit)?

Hi,is there a way to get programmatically the bitmode of the currently running VM?Similar to the SystemProperty com.ibm.vm.bitmode in IBM's VM for z/OS.Best solution would be VM-vendor independent.RegardsRico
[251 byte] By [MrEasy666a] at [2007-11-26 16:18:38]
# 1

Found something:

sun.arch.data.model will return bitmode running Sun or IBM VM.

System.out.println("sun.arch.data.model=" + (System.getProperty("sun.arch.data.model") == null ? "<not available>" : System.getProperty("sun.arch.data.model")));

System.out.println("com.ibm.vm.bitmode=" + (System.getProperty("com.ibm.vm.bitmode") == null ? "<not available>" : System.getProperty("com.ibm.vm.bitmode")));

MrEasy666a at 2007-7-8 22:41:54 > top of Java-index,Desktop,Runtime Environment...