centos 7 yum update java se runtime 1.8.0 code example Example: how to install java runtime environment on centos 7 sudo yum install java-11-openjdk-devel