How can I find the current Java version running in my computer?

How can I find the current Java version running in my computer?



To check the java running version run below command.

       
java -version


To check the running java compiler version on your computer run below command.

       
javac -version

Comments

Popular posts from this blog

How do I create an array of a string?

Explain briefly about POJO in Java?