1. Check the JDK version
yum -y list java*
2. Run the jdk installation command
yum install -y java-1.8.0-openjdk-devel.x86_64
3. View the installation results
java -version
1. Check the JDK version
yum -y list java*
2. Run the jdk installation command
yum install -y java-1.8.0-openjdk-devel.x86_64
3. View the installation results
java -version