1. You have to install OpenJDK 11 JDK at the first time
(As you know, OpenJDK 11 is the current LTS version of Java and the recommended version to install)
sudo yum install java-11-openjdk-devel |
2. Verify the installation, you can check to run the following command which will print the Java version
java -version |
At that point, you should have successfully installed Java on your CentOS system.
댓글