What is the difference between Azul OpenJDK, Zulu OpenJDK and OpenJDK?

JavaAzul Zulu

Java Problem Overview


What is the difference between Azul OpenJDK, Zulu OpenJDK and OpenJDK?

Java Solutions


Solution 1 - Java

Update 2021-09

On my first reading, it appears this new license makes production use free-of-cost (along with dev, test, and training usages), except for products sold for a fee while bundling the Oracle JDK product. But I am not an attorney, so read the terms yourself and consult legal advice as needed.

Keep in mind that many other vendors continue to provide implementations of the Java specs, as shown in the flowchart below. Some of these vendors sell support plans, either optionally or as a requirement for use of their product. Never assume, always read the detailed requirements for any distribution you obtain.

Another 2021 update: Add Microsoft to the list of vendors seen below.


Java specification versus implementation

Java is defined by a set of specifications, JSRs, and JEPs, all published by Oracle.

Those specifications are implemented in the source code found at the OpenJDK project.

Several vendors provide builds of that source code. Some charge money for those builds and some do not.

Azul Systems is one such vendor, a company providing multiple implementations. Zulu Community is one, provided free of charge. Zulu Enterprise is another of their products, a commercial offering. Zing is yet another product of theirs, a JVM/JDK for special needs.

You asked:

>Is there any practical difference between Azul OpenJDK, Zulu OpenJDK and OpenJDK?

Yes and no.

Firstly, OpenJDK provides only source code. So you cannot use OpenJDK to run Java apps. You must first build the OpenJDK source code yourself to get executables for your particular host platform, or you must rely on a vendor make a build for you. As seen in the flow chart below, there are several such vendors making builds of the OpenJDK source code.

As for products from Azul Systems, there is no such thing as Azul OpenJDK nor Zulu OpenJDK that I know of. Azul offers multiple products, as discussed above, but none of them by that name.

The Zulu name is used for 3 products, the Community and Enterprise editions above, plus Zulu Embedded for running on constrained hardware resources. As explained on their web site, all three of these are builds of the source code from OpenJDK.

So, no, basically no practical differences, as they all are builds of OpenJDK, and behave similar to most any other build of OpenJDK source code. Any desktop, server, or console application written to comply with the Java specifications will run on Zulu Community and Zulu Enterprise.

But, yes, there are some differences in that Azul adds some features such as having back-ported Flight Recorder and Mission Control to their Java 8 version of Zulu products. And Azul, like any such JDK provider, reserves the right to add a patch when urgently needed to fix a critical bug or security vulnerability without waiting for a release in the OpenJDK codebase.

And, yes, there are major differences with the Zing product by Azul as that is intended for special needs such as supporting very large amounts of memory. While I presume this product uses parts of OpenJDK, Zing performs quite differently to meet those special needs while still conforming with the Java specifications to be able to run any application written in Java.

Another practical difference is that you can obtain support services from Azul Systems for their builds. Several of the vendors provide support services for their builds. OpenJDK provides only source code, no support.

Lastly, I should mention that Azul Systems is one of the sponsors of AdoptOpenJDK, a project to provide (a) builds of OpenJDK, and (b) test suites for quality assurance.

If you have specific product questions, you should study the Azul.com web site, and contact the sales department at Azul Systems. I speak only for myself here, unaffiliated with that company. I have on occasion used their Zulu Community product, but not the others.

➥ Read Java is Still Free to understand the ecosystem of Oracle, OpenJDK, and the various vendors of Java implementations.


Here is a flow chart I made to help guide you in choosing a vendor for an implementation of Java 11.

Flowchart guiding you in choosing a vendor for a Java 11 implementation

Solution 2 - Java

Let's start with full disclosure, I work for Azul (which I think makes me qualified to answer the question).

OpenJDK is a "...place to collaborate on an open-source implementation of the Java Platform, Standard Edition, and related projects". Primarily, it hosts the source code repositories for the versions of Java since JDK 6. Sun open-sourced their implementation of JDK 7 in 2007, which was how OpenJDK originated. Subsequently, a project was created for JDK 6 (which oddly, is based on JDK 7). Each version since then has been developed through the OpenJDK.

Azul is a company that specialises in Java and JVM products.

Zulu is the name chosen for the binary distribution of the OpenJDK provided by Azul. This comes in three versions:

  1. Zulu Community: The free distribution provided under the GPLv2 with classpath exception (CPE) license.
  2. Zulu Enterprise: A commercially supported binary distribution with SLAs for how quickly updates will be made available after Oracle provide theirs, two versions of each update (CPU and PSU) and phone/e-mail bug reporting/resolution.
  3. Zulu Embedded: Porting and support for specific chipsets and hardware configurations for embedded applications. Also, a commercial product, although free ARM 32 builds are available for Zulu Community.

To summarise, OpenJDK is the source code, Azul is the company and Zulu is the binary distribution built from OpenJDK.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionKrishanView Question on Stackoverflow
Solution 1 - JavaBasil BourqueView Answer on Stackoverflow
Solution 2 - JavaSpeakjavaView Answer on Stackoverflow