how to install java runtime environment on centos 7

Java
sudo yum install java-11-openjdk-devel
Source

Also in Java: