- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- java-1.7.0-oracle (RHEL 6.3+)
- java-1.7.0-oracle-devel (RHEL 6.3+)
- java-1.7.0-oracle-javafx (RHEL 6.3+)
- java-1.7.0-oracle-jdbc (RHEL 6.3+)
- java-1.7.0-oracle-plugin (RHEL 6.3+)
- java-1.7.0-oracle-src (RHEL 6.3+)
- 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+)
- 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.
- We use Satellite to download Java 6 & 7 patches. Will we continue to get Java updates through Red Hat after April?
After Dec 1, 2017, users are required to enable a new content set (repository) to access the Oracle Java SE software.
Oracle Java SE, like other third-party software that Red Hat may make available for use with Red Hat Enterprise Linux, is provided to you subject to the terms and conditions as set forth by Oracle. The terms of the Oracle Java SE license can be found here: http://www.redhat.com/licenses/thirdparty/eulal.
The steps to configure the new content set are as follows (root privilege required):
If you were a customer that had access to this content with an active subscription prior to November 30th, 2017, you will now have new subscriptions enabled on your account.
You must attach one of the new entitlements to any system you wish to be able to consume the new content.
If using Red Hat Satellite, you must attach the subscriptions to your Satellite Manifest or Certificate before beginning.
The new subscriptions will be one of the following:
|SER0534||Oracle Java Add-On (Physical or Virtual Nodes)|
|SER0535||Oracle Java Add-On (Physical or Virtual Nodes, L3 Only)|
|SER0536||Oracle Java Add-On (Unlimited Virtual Nodes)|
|SER0537||Oracle Java Add-On (Unlimited Virtual Nodes, L3 Only)|
Please ensure you have attached one of these subscription to a host or provided them to your Satellite before trying to enable or sync the content.
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
Red Hat Subscription Management:
subscription-manager repos --enable rhel-5-server-restricted-maintenance-oracle-java-rpms
Red Hat Enterprise Linux 6
Red Hat Subscription Management:
subscription-manager repos --enable rhel-6-server-restricted-maintenance-oracle-java-rpms
Red Hat Enterprise Linux 7
Red Hat Subscription Management (All Others):
subscription-manager repos --enable rhel-7-server-restricted-maintenance-oracle-java-rpms
Red Hat Satellite 5 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, follow the steps below to find the
oracle channel and sync it on satellite server.
Satellite 5.6 and 5.7
To find the new channel:
# satellite-sync --list-channels | grep -i oracle
To sync the new channel:
# satellite-sync -c rhel-x86_64-server-7-restricted-maintenance-oracle-java
Now you need to move all the systems subscribed into old oracle channels (e.g. “
rhel-x86_64-server-7-thirdparty-oracle-java”) to the new channels (e.g. “
To do it manually on a per-system basis, in the Satellite webUI go to Systems → find your system and go into its details → Software → Software Channels → uncheck the old Oracle child channel and check the new Oracle child channel.
To perform the action on a large number of systems, you can use Systems Set Manager (aka SSM). In the Satellite webUI go to Channels → find the old Oracle channel and go into its details → Subscribed Systems → Select All (lower left corner of the table) → Manage (this is the SSM button in upper right corner of the screen) → Channels → Child Channels → now on a row with old channel select “Unsubscribe” and on a row with the new child channel select “Subscribe” → Alter Subscriptions → confirm with Change Subscriptions.
No matter which method you have used, you should check that your system(s) have only packages available in its current channels:
yum list extras.
Once you have migrated all your systems to new channels, you should use 'spacewalk-remove-channel' to remove old Oracle channels from your Satellite.
The system should now be registered with Red Hat Satellite and subscribed to the Oracle Java channels for access to Oracle JDKs and JREs.
Please note that Oracle Java SE is not currently available at the standard location on the Red Hat Customer Portal and therefore will not be available for sync with Satellite 5.8. We are in the process of enabling this content and we anticipate that this will be in place by March 2018.
Red Hat regrets this delay and recommends the following as a temporary solution until such time as the content is fully available for sync via standard process:
Oracle Java RPMs can be downloaded from the following locations, depending on the used variant of the Red Hat Enterprise Linux:
- Red Hat Enterprise Linux Server
- Red Hat Enterprise Linux Client
- Red Hat Enterprise Linux Compute Node
- Red Hat Enterprise Linux Workstation
On the download page, select the version of Red Hat Enterprise Linux and system architecture. The "Packages" tab can be used to locate individual packages, while the "Errata" tab can be used to locate individual errata and the associated set of packages.
Create a custom channel in Satellite as described here:
Upload the packages that you downloaded in step 1 as described here:
Satellite 6 customers will need to add the new Oracle JDK subscriptions to their Satellite Manifest, and then refresh the Manifest in the Satellite 6. Once this is complete you can then enable and sync the repositories.
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 channels. Access to OpenJDK and IBM JDK are not affected by this change.
- Oracle Java SE Access
- Oracle Java SE 6 - Notification of End of Public Updates and suggested alternatives Oracle Java SE 6 life cycle information as it pertains to supportability and distribution by Red Hat
- Continuing Updates of Oracle Java SE 7 with Red Hat JBoss Middleware Products
- OpenJDK Life Cycle and Support Policy
- Red Hat Enterprise Linux
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.