Java 8 Installation
Install Oracle Java 8 Java Runtime Environment (JRE):
- Navigate in a web browser to the Oracle Java SE Downloads page at: https://www.oracle.com/java/technologies/javase-downloads.html, scroll down until you find the entry for the latest Java SE 8 update, and click the JRE Download button.
- Accept the license agreement and download the file named jre-8uXXX-linux-x64.rpm.
The XXX in the filename should be the latest update number. Copy this file into the /root directory on your Linux server. Run the following command from the file location to install the package:
# rpm -Uvh jre-8u*-linux-x64.rpmwarning: jre-8u221-linux-x64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEYVerifying... ################################# [100%]Preparing... ################################# [100%]Updating / installing...1:jre1.8-1.8.0_221-fcs ################################# [100%]Unpacking JAR files...plugin.jar...javaws.jar...deploy.jar...rt.jar...jsse.jar...charsets.jar...localedata.jar...# java -versionjava version "1.8.0_221"Java(TM) SE Runtime Environment (build 1.8.0_221-b11)Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)# rpm -Uvh jre-8u*-linux-x64.rpmwarning: jre-8u221-linux-x64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEYVerifying... ################################# [100%]Preparing... ################################# [100%]Updating / installing...1:jre1.8-1.8.0_221-fcs ################################# [100%]Unpacking JAR files...plugin.jar...javaws.jar...deploy.jar...rt.jar...jsse.jar...charsets.jar...localedata.jar...# java -versionjava version "1.8.0_221"Java(TM) SE Runtime Environment (build 1.8.0_221-b11)Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)