Home >Operation and Maintenance >Windows Operation and Maintenance >What is the cmd command to check the java version?
The command to check the java version is "java -version". The specific operation method: 1. Use the "Win R" key to open the "Run" window; 2. In the "Run" window, enter "cmd", Click "OK"; 3. In the cmd running window, enter the command "java -version" and press Enter to view.
The operating environment of this tutorial: windows7 system, java7, Dell G3 computer.
Enter the command [java -version
] in the cmd window of the computer Windows 7 system to view the java version (JDK version). Please refer to the following steps for specific operations.
1. First, in the win7 system, press the shortcut key "Win R" to open the run window, as shown in the figure.
#2. Then enter "cmd" in the window and click the "OK" button.
#3. The system will pop up the cmd running window, enter the command [java -version], and then press the Enter key.
After completing the above settings, you can use the command line to view the java version (JDK version) in the Win7 system.
Recommended tutorial: "windows tutorial"
The above is the detailed content of What is the cmd command to check the java version?. For more information, please follow other related articles on the PHP Chinese website!