Home  >  Article  >  Operation and Maintenance  >  How to check the jdk version in linux system

How to check the jdk version in linux system

王林
王林Original
2020-07-09 14:51:4841286browse

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.

How to check the jdk version in linux system

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.

How to check the jdk version in linux 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.

How to check the jdk version in linux system

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn