Home>Article>Operation and Maintenance> How to check whether jdk is installed successfully in linux

How to check whether jdk is installed successfully in linux

青灯夜游
青灯夜游 Original
2022-03-02 14:58:52 12254browse

linux method to check whether jdk is installed successfully: 1. Right-click on a blank space on the Linux desktop, and select "Open Terminal" in the pop-up drop-down option; 2. In the opened terminal window, enter and Execute "java -version". If the jdk version information is output, the jdk installation is successful.

How to check whether jdk is installed successfully in linux

#The operating environment of this tutorial: Red Hat Enterprise Linux 6.1 system, Dell G3 computer.

How to check whether jdk is successfully installed in linux

1. Open the terminal

Right-click on a blank space on the linux desktop , select "Open Terminal"

How to check whether jdk is installed successfully in linux

How to check whether jdk is installed successfully in linux

#2. Enterjava -versionin the terminal window and press Enter .

If the jdk version appears, it means jdk is installed

How to check whether jdk is installed successfully in linux

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of How to check whether jdk is installed successfully in linux. 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
Previous article:Is linux system software? Next article:Is linux system software?