How to check JDK version that installed on your computer
Here’s a quick guide to show the use of “java -version” command to check the current JDK version that installed on your computer.
1. Open your command prompt in Wndows or terminal in *nix.
2. Type “java -version“.
C:\>java -version java version "1.6.0_18" Java(TM) SE Runtime Environment (build 1.6.0_18-b07) Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)
In this case, JDK “1.6.0_18” is installed on the computer.