Where are Oracle/Sun/IBM Java packages located?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Affected Packages:

  • java-1.5.0-sun
  • java-1.5.0-sun-demo
  • java-1.5.0-sun-devel
  • java-1.5.0-sun-jdbc
  • java-1.5.0-sun-plugin
  • java-1.5.0-sun-src
  • java-1.5.0-sun-uninstall
  • java-1.6.0-sun
  • java-1.6.0-sun-demo
  • java-1.6.0-sun-devel
  • java-1.6.0-sun-jdbc
  • java-1.6.0-sun-plugin
  • java-1.6.0-sun-src
  • java-1.7.0-oracle
  • java-1.7.0-oracle-devel
  • java-1.7.0-oracle-javafx
  • java-1.7.0-oracle-jdbc
  • java-1.7.0-oracle-plugin
  • java-1.7.0-oracle-src
  • java-1.8.0-oracle (RHEL 6.6+, 7.1+)
  • java-1.8.0-oracle-devel (RHEL 6.6+, 7.1+)
  • java-1.8.0-oracle-javafx (RHEL 6.6+, 7.1+)
  • java-1.8.0-oracle-jdbc (RHEL 6.6+, 7.1+)
  • java-1.8.0-oracle-plugin (RHEL 6.6+, 7.1+)
  • java-1.8.0-oracle-src (RHEL 6.6+, 7.1+)

Issue

  • How to install Oracle Java SE packages ?
  • Where are Oracle Java SE packages located?
  • Need satellite certificate for Oracle Java channel.
  • Oracle has stated that Java 7 patch updates will no longer be available to the general public through Oracle.
    My question is we use Satellite to download Java 6 & 7 patches, will we continue to get Java updates through Red Hat after April and moving forward?

Resolution

Users are required to enable a new repository on their systems to access Oracle Java software. The steps to configure the new repository are as follows (root privilege required):

Note: The channel names in the examples below are for rhel-x-server. If the system uses a workstation entitlement, then the word 'server' should be replaced with 'workstation'.

The following content is provided as a convenience. Red Hat will assist in setting up access to the repository. Red Hat does not have permission to alter the source code for this proprietary content and relies on the vendor to provide timely resolution to bug fixes with updated packages.

Red Hat Enterprise Linux 5

RHN Classic:

rhn-channel --add --channel rhel-x86_64-server-5-thirdparty-oracle-java

Red Hat Subscription Management:

subscription-manager repos --enable rhel-5-server-thirdparty-oracle-java-rpms

Red Hat Enterprise Linux 6

RHN Classic:

rhn-channel --add --channel rhel-x86_64-server-6-thirdparty-oracle-java

Red Hat Subscription Management:

subscription-manager repos --enable rhel-6-server-thirdparty-oracle-java-rpms

Red Hat Enterprise Linux 7

RHN Classic (Red Hat Satellite Only):

rhn-channel --add --channel rhel-x86_64-server-7-thirdparty-oracle-java

Red Hat Subscription Management (All Others):

subscription-manager repos --enable rhel-7-server-thirdparty-oracle-java-rpms (Oracle JDK)
subscription-manager repos --enable rhel-7-server-supplementary-rpms (IBM JDK)

Red Hat Satellite Notes

Satellite customers will need a new certificate in order to get to the new channels. See https://access.redhat.com/site/tools/satcert/ for instructions on how to do obtain updated certificates to gain access to the new channels.

Once the certificate is activated successfully, use below commands to find the oracle channel and sync it on satellite server.

to find the channel:

# satellite-sync --list-channels | grep -i oracle

to sync channel:

# satellite-sync -c rhel-x86_64-server-6-thirdparty-oracle-java

The system should now be registered with Red Hat Network and subscribed to the Oracle Java channels for access to Oracle JDKs and JREs.

OpenJDK

Red Hat Enterprise Linux includes OpenJDK as the default Java development and runtime environment. Java development and runtime is also available from IBM via the Supplementary media and RHN channels. Access to OpenJDK and IBM JDK are not affected by this change.

Additional Information

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.