How to check jdk version

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

Java167

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.