I'm trying to find out the system architecture using Java and I've tried out:
operatingSystemMXBean.getArch()
and
String sys1=System.getProperty("sun.arch.data.model")
but I get amd64
when I'm using an Intel 64 bit processor.
I've read this article on Wiki to clear up my concepts. Am I missing something? Also, how can I get the actual System architecture using Java so that I get an output saying Intel 64? Thanks!