• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jvm 32 or 64 bit

 
Abhay Katekar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can one find out if the jvm version is 32 bit or 64 bit.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
 
Abhay Katekar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jesper,

Did it.

C:\>java -version
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)

Thats the output.
Now how can I tell if its 32 bit jvm or 64 bit jvm version from this output.
Please help.
 
Peter Chase
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm 95% sure there is no 64-bit version of Java 1.4.x from Sun, so you have a 32-bit Java. Check at http://java.sun.com to be sure.

Perhaps, in later Java versions where there is a 64-bit option, the version information may tell you which it is.
 
Abhay Katekar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,

Will check out for the jdk version 1.5.

That should solve the problem.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic