• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java version

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check the value of JAVA_HOME. Also, at the command line enter:
java -version
 
Orin Malcolm
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are writing code you can use:
 
Chen Huaping
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah,the easy way is press the command:
java -version
at any directory for the DOS mode window!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic