| Author |
jvm 32 or 64 bit
|
Abhay Katekar
Greenhorn
Joined: Jan 12, 2006
Posts: 11
|
|
|
How can one find out if the jvm version is 32 bit or 64 bit.
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12907
|
|
|
Try typing in: java -version
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
Abhay Katekar
Greenhorn
Joined: Jan 12, 2006
Posts: 11
|
|
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
Joined: Oct 30, 2001
Posts: 1970
|
|
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.
|
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.<br /> <br />#:^P
|
 |
Abhay Katekar
Greenhorn
Joined: Jan 12, 2006
Posts: 11
|
|
Thanks, Will check out for the jdk version 1.5. That should solve the problem.
|
 |
 |
|
|
subject: jvm 32 or 64 bit
|
|
|