Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8266833

Differences Between Oracle JDK and Oracle's OpenJDK

    XMLWordPrintable

    Details

      Description

      Although we have stated the goal to have OpenJDK and Oracle JDK binaries be as close to each other as possible, there remain several differences between the two options.

      The current differences are:

      - Oracle JDK offers "installers" (`msi`, `rpm`, `deb`, etc.) which not only place the JDK binaries in your system but also contain update rules and in some cases handle some common configurations like set common environmental variables (such as, JAVA_HOME in Windows) and establish file associations (such as, use `java` to launch `.jar` files). OpenJDK is offered only as compressed archive (`tar.gz` or `.zip`).
      - Usage Logging is only available in Oracle JDK.
      - Oracle JDK requires that third-party cryptographic providers be signed with a Java Cryptography Extension (JCE) Code Signing Certificate. OpenJDK continues allowing the use of unsigned third-party crypto providers.
      - The output of `java -version` is different. Oracle JDK returns java and includes the Oracle-specific identifier. OpenJDK returns OpenJDK and does not include the Oracle-specific identifier.
      - Oracle JDK is released under the OTN License. OpenJDK is released under GPLv2wCP. License files included with each will therefore be different.
      - Oracle JDK distributes FreeType under the FreeType license and OpenJDK does so under GPLv2. The contents of `\legal\java.desktop\freetype.md` is therefore different.
      - Oracle JDK has Java cup and steam icons and OpenJDK has Duke icons.
      - Oracle JDK source code includes "ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms." Source code distributed with OpenJDK refers to the GPL license terms instead.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cwayne Clifford Wayne
              Reporter:
              cwayne Clifford Wayne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: