You are on page 1of 2

C U S T O M E R (https://access.redhat.

com/)
P O R TA L

OpenJDK vs Oracle JDK


/ SOLUTION UNVERIFIED - Updated January 23 2019 at 9:45 AM - English ()

Environment
OpenJDK
OracleJDK

Issue
Any differences between the Red Hat OpenJDK and the Oracle JDK?
Any factors to consider when migrating from Oracle JDK to OpenJDK?

Resolution
Following is a basic list and not specific to any java version.

Serviceability: OpenJDK does not contain Mission Control. Red Hat is working on distributing
Mission Control for OpenJDK 11 soon.

Font: The font library is different. This means slightly different text layout in some cases.

CMS: Same for the colour management system. OpenJDK uses the same solutions as the
rest of RHEL (FreeType & LCMS) while the proprietary JDK has established existing code
that it has used for many years.

OpenJDK use the RHEL system NSS crypto library, not the JDK's built-in one. This mostly
affects elliptic curve cryptography, where OpenJDK supports all of the RHEL curves and
none of the others.

2D library: OpenJDK has its own 2D library, different from the proprietary JDK. This means
that its performance is different.

Application Class Data Sharing is part of OpenJDK since OpenJDK 10. This feature reduces
memory footprint by sharing class metadata.

OpenJDK doesn't support the Resource Management API for Java.

OpenJDK doesn't support the Simple Network Management Protocol API.


OpenJDK has its own browser plugin and Java Web Start application ( icedtea-web
C U S T O M E R (https://access.redhat.com/)
package). We wrote
P Othis
R TAindependently
L of Oracle. Icedtea-web is currently supported on 
RHEL with OpenJDK 7 and 8 and adding Web Start support through it for Windows with
OpenJDK 8 is in progress.

OpenJDK doesn't support Cooperative Memory Management. This allows the user to tune
the G1 garbage collector depending on a compromise between memory usage and
performance.

OpenJDK supports system-tap.

OpenJDK is provided with full-debug clone-build (-debug- subpackages).

OpenJDK comes with javadocs. Both zipped and uncompressed.

OpenJDK is delivered with full sources.

OpenJDK uses system tzdata and system certificates (Oracle has these bundle).

OpenJDK 8 and 11 from Red Hat fully support Shenandoah, an low pausetime Garbage
Collector for large heaps.

Product(s) Red Hat Enterprise Linux (/taxonomy/products/red-hat-enterprise-linux)

Category Supportability (/category/supportability) Tags java (/tags/java) jvm (/tags/jvm)

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.

People who viewed this solution also viewed

How does the OpenJDK compare to OracleJDK?

Solution - Nov 12, 2015

Does Red Hat support Tomcat (shipped with RHEL) with Oracle JDK?

Solution - Jan 1, 2018

You might also like