Search code examples
solaris32bit-64bitjavasparc

Check if installed version of JRE is 64 bit on solaris Sparc


Is there a clear or easy way to check over the command line if the installed JRE is 64 bit on a Sparc machine?

I am used to seeing this in:

java -version 

however it appears that Solaris only says what version and build of java is installed.


Solution

  • Run java -d64 -version. It will complain if a 64 bit JVM isn't installed.