How to Install Orcle Java 8 JRE on RHEL ec2 Linux


(Lisa Mathew) #1

Follow the steps given below for setting up oracle JRE 8 on a RHEL Linux instance.

  1. Head over to oracle java JRE downloads page http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

  2. Accept the Download the appropriate rpm package. The download URL would look something like below.

     wget http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jre-8u131-linux-x64.rpm?AuthParam=1493719102_0ac0ea12663165a76e17a5ebc11ea248`
    
  3. Rename the downloaded package to rpm. You need to replace the source URL with your

     mv jre-8u131-linux-x64.rpm\?AuthParam\=1493719102_0ac0ea12663165a76e17a5ebc11ea248  jre-8.rpm
    
  4. Install the package

     sudo rpm -ivh jre-8.rpm