Information in this article is subject to change as necessary.
OpenJDK (Open Java Development Kit) is an open source implementation of the Java Platform, Standard Edition (Java SE). The upstream community project OpenJDK is currently sponsored and led by Oracle and is released under the GNU General Public License (GNU GPL 2 and 2+) with a linking exception.
OpenJDK is the default Java development and runtime in Red Hat Enterprise Linux. Packages for OpenJDK are made available in Red Hat Enterprise Linux in the same manner as the rest of the content set.
Oracle leads development of the Java Platform SE and contributes heavily to the OpenJDK project. See Overview and Development model of Java Platform SE for more details.
The following section outlines the scope of support for OpenJDK in Red Hat Enterprise Linux (RHEL).
OpenJDK Life Cycle and Support Policy
A major version of OpenJDK is supported for at minimum a period of six years from the time that it is first introduced in any version of RHEL, or until the retirement date of the underlying RHEL platform , whichever is earlier. There are currently three active major versions available in RHEL, but customers are advised to migrate to the newest version of OpenJDK as soon as practical to continue to receive updates and support.
OpenJDK Lifecycle Dates and RHEL versions
|RHEL 5 Support Added||RHEL 6 Support Added||RHEL 7 Support Added||End of Support|
|OpenJDK 6 (1.6)||5.3||6.0||7.0||December 2016|
|OpenJDK 7 (1.7)||5.9||6.3||7.0||June 2020|
|OpenJDK 8 (1.8)||N/A||6.6||7.1||June 2023|
|OpenJDK 11||N/A||N/A||7.6||October 2024|
Frequently Asked Questions and References
What are Technology Previews
Technology Previews provide early access to new technologies. Refer to Scope of Coverage for Technology Previews for details on how these are supported.
Targeted releases, dates and life cycle time spans are subject to adjustment.
Do the lifecycle dates apply to the OpenJDK images available in OpenShift?
Yes. The lifecycle for OpenJDK 8 applies the the container image available in the Red Hat Container Catalog, and the OpenJDK 11 lifecycle will apply when it is released. OpenJDK 7 from Red Hat is not available in the Red Hat Container Catalog.
Can Red Hat patch OpenJDK?
Yes. Red Hat has the ability to provide updates to OpenJDK software that is shipped in Red Hat Enterprise Linux subject to the lifecycle guidance provided in this article.
Can we install multiple versions of OpenJDK on the same server?
Yes, it is possible to have multiple versions of OpenJDK on the same Red Hat Enterprise Linux server as long as they are available on the media (DVD) or Red Hat Network channels. These packages are separate packages with the version number clearly identified in the name of the RPM. It is also possible for a third-party Java JDK/JRE to be installed concurrently with OpenJDK. For customer convenience, Red Hat also bundles the IBM JDK via the Supplementary channels. Note that the IBM JDK is not integral to the RHEL content set and follows IBM's guidance on updates and life cycle. We recommend you use the
alternatives tool to configure OpenJDK or a third-party Java.
How can I install multiple minor releases on the same server?
RHEL has a proven track record of maintaining binary compatibility of key components for the life of the (major) release. OpenJDK is no exception to this rule. Users are free to stay at a particular release (e.g. "184.108.40.206.4.el6"). However, we strongly recommend that you update to the most recent release that is available. This ensures that you receive fixes to the most recent critical bugs and security fixes.
While Red Hat will make a commericially reasonable effort to support the earlier release, it may become necessary to update to the most recent release to help reproduce and identify a problem. Red Hat will treat any binary incompatibility between releases as a bug and will attempt to provide a fix as per the SLA. The exceptions to this include and are not limited to our need to patch security vulnerabilities in the package with no option to avoid binary compatibility breakage. These cases are very rare and are clearly documented in the errata.
Are the binary plugs that Oracle did not release the source supported?
We do not ship any of the OpenJDK binary plugs.
Does Red Hat perform the TCK compliance testing?
Yes, we run the TCK test suite, which is a set of tests that we received from Oracle. Anytime there is a code change, we run the TCK to ensure that OpenJDK is in compliance with the Java specification.
What kind of support does Red Hat provide after "End of Production Support Schedule"?
Red Hat will provide limited ongoing technical support. No bug fixes, security fixes or root-cause analysis will be available and support will be provided on existing installations only. This is consistent with the RHEL Extended Life Phase.
Is Red Hat releasing OpenJDK 9, 10, or 11?
Red Hat will skip Java SE 9 and 10, and ship an OpenJDK distribution based on Java SE 11. See the Red Hat OpenJDK 11 Advice article for additional information.
The OpenJDK 11 lifecycle appears short in comparison older versions, why is that?
Red Hat ships OpenJDK versions with an initial commitment of 6 years of support. We review the lifecycle regularly and can extend the lifecycle if we determine there is sufficient demand.
alternatives to manage different JDKs: What is the alternatives system and how do I configure it?