What Is The Difference Between OpenJdk and Oracle Jdk ?

What is the difference between OpenJDK and Oracle JDK

What is OpenJDK

OpenJDK is the short form of Open Java Development Kit similar to Oracle's Java Development Kit used to develop Java Applications. Main difference between Oracle JDK and OpenJDK is that OpenJDK is free for all while Oracle Java Development Kit or Oracle JDK requires commercial license.

OpenJDK vs Oracle JDK

OpenJDK is the open source implementation of the Java Platform Standard Edition and is free to use with General Public License Version 2 ; GPLv2. OpenJDK 7 is the reference implementation of the Java SE 7 Specification. For more details you can refer the official Java SE 7 specification from Java Community Process here.

OpenJDK 7 was released on 28th July 2011,Since decision to Open Source JDK came late in the life cycle of the development of JDK 6, JDK 7 was first released as open source. Since Java SE 6 was needed as well, to maintain backword compatibility OpenJDK 6 was released by removing the OpenJDK 7 features inappropriate for a Java SE 6 specification.

Community OpenJDK source code can be downloaded from Mercurial repository

OpenJDK developer's guide and openjdk documentation is available at the official OpenJDK website. https://openjdk.java.net.

Openjdk vs Oracle jdk - Why OpenJDK ? Why not Oracle Java JDK

Oracle Java is not free anymore!. We need to buy subscription for its usage. Typically for Java SE Desktop Subscription you might have to pay minimum 2.5$ per named user profile per month. And minimum of 25$ per processor (volume 1-99).

For detailed price list please visit oracle here

On the other hand, OpenJDK is free for all and you don't have to pay single penny!. If you don't want you buy Oracle Subscription and still want to use Java for free in all your Production Systems then OpenJDK is the right choice for you.

OpenJDK vs Oracle JDK

Oracle JDK
  • Both OpenJDK and Oracle JDK are created, maintained and Supported by Oracle

  • Oracle JDK is based on OpenJDK which was donated to public by Sun Microystems.

  • Oracle JDK was licensed under Oracle Binary Code License Agreement.

  • Oracle JDK require a commercial license. And provides Long Term Support

  • Where to Download Oracle JDK ? We can download Oracle JDK from Oracle JDK

  • OpenJDK is developed, maintained and Supported by Oracle and OpenJDK community.

  • Open JDKinitially was donated to public by Sun Microystems.

  • OpenJDK is licensed under GNU General Public License (GNU GPL).

  • OpenJDK doesn't require a commercial license. And provides Short Term Support

  • Where to Download OpenJDK ? We can download OpenJDK community version at the below site.https://jdk.java.net/ You can also download OpenJDK from AdoptOpenJDK which provides an open and reproducible build and test system for OpenJDK source across multiple platforms. AdoptOpenJDK provides OpenJDK binaries for the Java ecosystem.

Explore OpenJDK

OpenJDK features,Code Samples and More!.

Explore OpenJDK Features

OpenJDK features of all releases.

Explore OpenJDK Code Examples

OpenJDK Code Samples and More!.

Java Code Samples

Oracle / OpenJDK Java 8 code samples.

OpenJDK Install and Uninstall Quick Steps.

How to Install and Uninstall on windows!.

Uninstall Java

How to Uninstall Oracle / OpenJDK Java on Windows.

Install Java

How to Install Oracle / OpenJDK Java on Windows.