How to Know which version used in your system in command line

Questions by subhas_mca4u

Showing Answers 1 - 2 of 2 Answers

Shrikrishna

  • Nov 9th, 2005
 

To know which version is running on your system(On windows), you need to type in the command line as,

jview -versions.

I have only tried this on Windows machines with a Sun JVM installed. I'm not sure what it will do on a machine with only the Microsoft JVM or with no JVMs at all. On a machine with both the Microsoft JVM and a Sun JVM, this command returns information about the Sun JVM.  

I have only tried this on Windows machines with a Sun JVM installed. I'm not sure what it will do on a machine with only the Microsoft JVM or with no JVMs at all. On a machine with both the Microsoft JVM and a Sun JVM, this command returns information about the Sun JVM.  

  Was this answer useful?  Yes

Devidas

  • Nov 14th, 2005
 

java -version

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions