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

Differences Between Oracle JDK and Oracle's OpenJDK




      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 17 and later are released under the [Oracle No-Fee Terms and Conditions License](href="https://www.oracle.com/downloads/licenses/no-fee-license.html").OpenJDK is released under [GPLv2wCP](https://openjdk.java.net/legal/gplv2+ce.html). 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.


          Issue Links



              cwayne Clifford Wayne
              cwayne Clifford Wayne
              0 Vote for this issue
              1 Start watching this issue