How to check jdk version

Java166

 description

How to quickly check the jdk version, you can check the version information through the command line java -version

 command

java -version

 parameter

--version : output product version and exit

 result

java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.