Home > Article > Operation and Maintenance > How to check the jdk version in linux system
The way to check the jdk version in Linux system is: you can check it through the [java -version] command. The specific method is: 1. Open the terminal; 2. Enter the [java -version] command and press Enter. At this time, the jdk version information will be displayed in the terminal.
The method is as follows:
(Recommended tutorial: linux tutorial)
Open the terminal and execute java -version command, so that you can check the jdk version of the current system.
You can also check the installation location of jdk. The specific method is:
Open the terminal and execute the java -verbose command, so that the current system can be displayed The installation location of jdk.
The above is the detailed content of How to check the jdk version in linux system. For more information, please follow other related articles on the PHP Chinese website!