Home >Java >javaTutorial >What is the command to check the jdk version?
The command to check the jdk version is java -version
View method:
Windows:
Open the cmd command line and enter Command java -version and press Enter.
linux:
Enter "java -version" in the Terminal window
For more Java-related technical articles, please visit the Java Development Tutorial column to learn!
The above is the detailed content of What is the command to check the jdk version?. For more information, please follow other related articles on the PHP Chinese website!