First, check whether Java is successfully installed
java -version
If the version information is displayed, the installation is successful. Just install the corresponding package
yum install java-1.8.0-openjdk-devel.x86_64
First, check whether Java is successfully installed
java -version
If the version information is displayed, the installation is successful. Just install the corresponding package
yum install java-1.8.0-openjdk-devel.x86_64