4/08/2016

How to check JVM version is 32 bit or 64 bit?

In java there are different versions of binary files available for 32 bit and 64 bit. After java installed some times we may need to check installed version is 32 bit or 64 bit because some applications are not compatible with 32 bit version of java. We can use the same command we use for checking the java version.

  Option 1:

java -version

Resulting output of the 32 versions and 64 bit versions are almost same except one small change.In 64 bit installation we can find the text 64 bit server VM as like below.
64bit
But in 32 bit machine we will get the message like Client VM as like below.
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b02)
Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode, sharing)



Option 2: 
Go to control panel and we can find java icon. If 32 bit version of java installed we can find 32 bit mentioned in the bracket in java icon.

CommentsComments