Home>Article>Operation and Maintenance> How to check whether jdk is installed successfully in linux
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.
#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"
#2. Enterjava -version
in the terminal window and press Enter .
If the jdk version appears, it means jdk is installed
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!