Quick revision
The short answer
OpenJDK is the open source project that develops Java SE: the reference source code, licensed under the GPL version 2 with the Classpath Exception. Eclipse Temurin, Amazon Corretto, Azul Zulu, Microsoft Build of OpenJDK and Oracle JDK are binaries built from that same source by different vendors, who test them, distribute them and decide how long to keep patching each version. Builds of the same version behave almost identically; they differ in support, update periods, extra patches, tools and platforms, and Oracle JDK has its own licence terms.
What to remember
In this answer, we saw that OpenJDK is the open source project and reference code under the GPL with Classpath Exception, and that Temurin, Corretto, Zulu, Microsoft's build and Oracle JDK are vendor builds of that code. They behave almost identically; the differences are support, update periods, extra patches, tools and platforms. Oracle's openjdk.org builds only get about six months of updates, and Oracle JDK has its own licence terms that differ by version.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
OpenJDK is the open source project that develops Java SE: the reference source code, licensed under the GPL version 2 with the Classpath Exception. Eclipse Temurin, Amazon Corretto, Azul Zulu, Microsoft Build of OpenJDK and Oracle JDK are binaries built from that same source by different vendors, who test them, distribute them and decide how long to keep patching each version. Builds of the same version behave almost identically; they differ in support, update periods, extra patches, tools and platforms, and Oracle JDK has its own licence terms.
Why this question is asked
When we install Java today we have to pick a distribution, and the names can make it look as if there are several different Javas. Interviewers ask this to check that we know where Java actually comes from, what we are really choosing between, and why the choice matters for support and licensing more than for features. In this answer, we will recap what OpenJDK is, see how a vendor turns the source into a distribution, compare the common builds, and look at the two cases that most often surprise people: the six-month openjdk.org builds and Oracle JDK's licence.
1A Quick Recap of OpenJDK
OpenJDK is the project, hosted at openjdk.org, where Java SE is developed in the open. Engineers from Oracle, Red Hat, Amazon, Microsoft, Azul, SAP, Google and others contribute to it. Its output is source code: the HotSpot virtual machine, the compiler, the class libraries and the tools.
That source code is licensed under the GPL version 2 with the Classpath Exception. The GPL part means anyone can build, change and share the JDK, as long as changes to the JDK itself stay under the same licence. The Classpath Exception is what makes it usable for business: our own programs that run on the JDK and link to its libraries do not become GPL. So we can ship closed-source applications on any OpenJDK build.
OpenJDK does not really ship a product for production use. It ships source, plus some convenience builds. Someone has to compile it for each platform, test it, publish patches for years and answer support calls. That is the vendors' job.
2How a Vendor Turns the Source Into a Distribution
Every vendor follows roughly the same path. It takes the OpenJDK source for a release, builds it for the operating systems and CPUs it supports, runs the Technology Compatibility Kit (the TCK, Oracle's test suite that certifies a build as a compatible Java SE implementation), packages it, and publishes updates every quarter when the security fixes come out.
For older releases, the update work happens in the OpenJDK updates projects, such as jdk21u, which several vendors maintain together. That is why security fixes appear in Temurin, Corretto and Zulu on the same day each quarter: they come from the same shared repository. A vendor may also add its own patches, for example a fix it needs before upstream accepts it, or extra components such as a different installer or a cloud-specific tool.
- OpenJDK sourceGPL v2 with Classpath Exception; mainline and update repositories
- Vendor buildcompile for each OS and CPU, add any vendor patches
- Testing and certificationTCK for Java SE compatibility, vendor test suites
- Distributioninstallers, container images, package repositories
- Updates and supportquarterly security updates; length differs per vendor
5 layers, from the top down. Step through them one at a time.
The top layer is shared; vendors differ in the lower layers.
3Comparing the Common Builds
Because they start from the same code, builds of the same version are functionally very similar. Our application will behave the same on Temurin 21 and Corretto 21. The real differences are who supports it, for how long, on which platforms, and under what licence.
| Build | Who | What stands out |
|---|---|---|
| Eclipse Temurin | Adoptium working group (Eclipse) | Vendor-neutral, free LTS updates, TCK tested |
| Amazon Corretto | Amazon | Free LTS updates; default on AWS services |
| Azul Zulu | Azul | Free builds; paid support, wide OS and CPU range |
| Microsoft Build of OpenJDK | Microsoft | Free LTS builds; used across Azure |
| Red Hat build of OpenJDK | Red Hat | Supported with RHEL and OpenShift |
openjdk.org builds | Oracle | GPL; updates for about six months per release |
| Oracle JDK | Oracle | Oracle licence terms, which differ by version |
4Two Cases That Often Surprise People
The first is the builds on jdk.java.net, which many people simply call the OpenJDK builds. Oracle publishes them under the GPL for each new release, but it only updates each one for about six months, until the next feature release comes out. So the openjdk.org build of Java 21 stopped getting security fixes in early 2024, even though 21 is an LTS. For long-term production use, we want a distribution whose vendor patches the LTS for years, such as Temurin or Corretto.
The second is Oracle JDK. It is built from the same source, with very small differences today, but it is distributed under Oracle's own licence, and those terms have changed several times. Older updates of Oracle JDK 8 and 11 need a paid subscription for commercial production use, while Oracle JDK 17 and later were released under a no-fee licence for a limited period before later updates moved to subscription terms. Because the rules differ by version and update, a company should check the exact terms for each version it runs, ideally with its legal team, rather than assume Oracle JDK is free or paid.
5Follow-up questions
Is one distribution faster than another?
Not in any meaningful way for the same version, because the JIT compilers and garbage collectors come from the same source. Some vendors offer separate commercial JVMs with different compilers, such as Azul Platform Prime, but those are distinct products, not their standard OpenJDK builds.
What does TCK certification give us?
It shows the build passes the Java SE compatibility tests, so code written for Java SE runs on it as expected. Choosing TCK-certified builds keeps distributions interchangeable, which means we can switch vendors later without code changes.
Can we mix distributions in one company?
Technically yes, but it is better to standardise on one or two through base images, so security updates, monitoring and support work the same way everywhere.
6Conclusion
In this answer, we saw that OpenJDK is the open source project and reference code under the GPL with Classpath Exception, and that Temurin, Corretto, Zulu, Microsoft's build and Oracle JDK are vendor builds of that code. They behave almost identically; the differences are support, update periods, extra patches, tools and platforms. Oracle's openjdk.org builds only get about six months of updates, and Oracle JDK has its own licence terms that differ by version.
Open with
OpenJDK is the open source project where Java SE is developed; it produces the reference source code, under the GPL version 2 with the Classpath Exception, which is what lets us run closed-source applications on it.
Then, if they want more
Temurin, Corretto, Zulu, Microsoft Build of OpenJDK and Oracle JDK are all builds of that same source by different vendors. Each vendor compiles it for its platforms, runs the TCK to certify compatibility, packages it and publishes quarterly security updates, and most of those fixes come from the shared OpenJDK update repositories, so they land on the same day.
That means builds of the same version behave essentially the same. What differs is how long the vendor patches each version, whether commercial support is available, any extra patches or tools, and which operating systems and CPUs are covered.
Two things to watch: the builds on jdk.java.net from Oracle only get updates for about six months per release, even for an LTS, so they are not for long-term production. And Oracle JDK has its own licence, which has changed several times and differs by version, so I would check it with legal rather than assume.
About this answer
- Last updated
- 12 November 2026
- Versions it names
- Java 17, Java 21, Java 8
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- The Java Language Specification, Java SE 21, Java SE 21 API documentation
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "What is the relationship between OpenJDK and builds such as Eclipse Temurin, Amazon...": https://scrivio-interview-library.netlify.app/java/java-versions/2dd201f56c/