wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Java version Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java version" Watch "Java version" New topic
Author

Java version

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
Is there a way to check the version of java that is installed? One machine here has two versions and I don't know which is which?
rom chatterjee
Ranch Hand

Joined: Dec 11, 2001
Posts: 46
check the value of JAVA_HOME. Also, at the command line enter:
java -version


Rom Chatterjee<BR>Sun Certified Java Programmer
Orin Malcolm
Greenhorn

Joined: May 20, 2003
Posts: 5
If you are writing code you can use:


Knowledge is a disease..<br />Be sure to get infected.<p>Soon to be SCJP
Chen Huaping
Greenhorn

Joined: May 28, 2003
Posts: 1
Yeah,the easy way is press the command:
java -version
at any directory for the DOS mode window!


I'm a J2ME/C/C++/ASM fan!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java version
 
Similar Threads
jdk version
Unable to run web application when moved from Tomcat to Jboss
Getting HTTP Status - 500
Problems with SSL-Connection, CipherSuite wrong?
Null Global JNDI Error