Java: upstream, builds and version numbers untangeled
“We run Java 21” says surprisingly little. It doesn’t tell you whose build you run, who fixes it, how quickly fixes reach you, or under which licence. Those answers depend on a layer most teams never look at: the JDK distribution. This post explains how Java gets from source code to the binary in your container, and how to read the version number that comes out the other end.
Three layers: spec, source, build
Java SE is a specification. It defines what “Java 27” has to contain, and it is standardised through the Java Community Process (JCP). Java SE 27, for example, is JSR 402.
OpenJDK is the open-source project that implements that specification. It is the reference implementation, licensed under GPLv2 with the Classpath Exception. OpenJDK is source code and a community, not a product you download and install.
A JDK distribution is a compiled build of that source code from a particular vendor: Eclipse Temurin, Azul Zulu, Amazon Corretto, Microsoft Build of OpenJDK, Red Hat build of OpenJDK, Oracle JDK, IBM Semeru and others. Linux is a good comparison: one kernel project, many distributions.
The different names exist partly because “Java” and “OpenJDK” are Oracle trademarks, so every vendor needs its own brand.
Vendors can have their builds certified with Oracle’s TCK (Technology Compatibility Kit), the official compatibility test suite. A TCK-certified build is a verified Java SE implementation. Temurin, Corretto, Zulu, Microsoft’s LTS builds and IBM Semeru Certified Edition are all certified.
+-------------------------------------+
| Java SE specification |
| (standardised via the JCP) |
+-------------------------------------+
|
v
+---------------------------------------------------------------+
| OpenJDK: open-source code, GPLv2 + Classpath Exception |
| |
| +-------------------------+ +---------------------------+ |
| | Mainline (jdk repo) | | Update repos | |
| | new feature release | --> | (jdk21u, jdk25u, ...) | |
| | every 6 months | | quarterly + monthly fixes | |
| +-------------------------+ +---------------------------+ |
+---------------------------------------------------------------+
|
+---------------------+---------------------+
| | |
v v v
+-------------------+ +-------------------+ +-------------------+
| Oracle JDK and | | Temurin, Zulu, | | IBM Semeru |
| Oracle OpenJDK | | Corretto, | | OpenJDK libraries |
| builds | | Microsoft, | | + OpenJ9 JVM |
| | | Red Hat, | | |
| | | SapMachine, ... | | |
+-------------------+ +-------------------+ +-------------------+
Who maintains the code
Oracle writes most of the new code and leads development on the mainline, where each new feature release takes shape.
Fixes for released versions go into separate update repositories, one per release line: jdk17u, jdk21u, jdk25u and so on. For an LTS line, Oracle leads the public update repository for roughly the first six months. After that, Oracle builds Oracle JDK from its own private copy of the code for paying customers, and other contributors carry the public update repository forward. Red Hat, SAP, Amazon, Azul and others backport fixes there.
This handover has happened before. When Oracle stepped back from the OpenJDK 6 and 7 update projects, Red Hat’s Andrew Haley took over leadership of both.
That handover is why free builds of an LTS version can keep receiving fixes for eight years or more. It also means “LTS” isn’t a property of the code. It’s a commitment by the contributors and vendors to keep a release line maintained beyond six months.
Release cadence
- A new feature release every six months, in March and September. JDK 27 reached general availability on 15 September 2026; JDK 28 follows in March 2027.
- A long-term support (LTS) release every two years. The LTS versions so far are 8, 11, 17, 21 and 25. The next is Java 29, planned for September 2027.
- Non-LTS releases get about six months of updates from almost every vendor. Java 26, for example, left support in September 2026.
Reading a version number
Since JDK 10, version numbers follow JEP 322. Take Temurin’s 25.0.5.1+2:
| Part | Meaning | In 25.0.5.1+2 |
|---|---|---|
| FEATURE | The Java version | 25 |
| INTERIM | Always 0 under the six-month model | 0 |
| UPDATE | Count of regular update releases (security and bug fixes) | 5 |
| PATCH | Count of emergency releases for a critical issue | 1 |
+N |
Build number, which varies by vendor | 2 |
Three rules make the numbers readable:
- The update number goes up one month after the feature release, then every three months. It effectively tells you which quarter you are on.
- When a number goes up, everything after it is dropped. After
25.0.5.1comes25.0.6, not25.0.6.1. - The patch number is now how the new monthly releases are marked (see the patch calendar below).
Here is how Java 25 has moved so far:
| Version | Released |
|---|---|
| 25 | September 2025 (GA) |
| 25.0.1 | October 2025 |
| 25.0.2 | January 2026 |
| 25.0.3 | April 2026 |
| 25.0.4 | July 2026 |
| 25.0.4.1 | August 2026 (monthly) |
| 25.0.5 | October 2026 |
| 25.0.5.1 | November 2026 (monthly) |
| 25.0.6 | 19 January 2027 (next quarterly) |
Java 8 is the exception. It still uses its old scheme, such as 8u514-b01: update 514, build 01.
Vendors decorate the number. The same fix can look quite different depending on who built it:
| Build | Same patch level as OpenJDK 25.0.5.1 |
|---|---|
| Oracle JDK | 25.0.5.1+4 |
| Eclipse Temurin | 25.0.5.1+2 (Docker tag 25.0.5.1_2) |
| Amazon Corretto | 25.0.5.1.2 |
| Azul Zulu | product version 25.38.201, containing JDK 25.0.5.1+2 |
The rule of thumb: compare the OpenJDK part of the version, not the vendor’s own number or build suffix. Two builds with the same OpenJDK version from the same release contain the same security fixes.
The patch calendar
Quarterly releases. Security and bug-fix updates ship on the third Tuesday of January, April, July and October. Oracle calls these Critical Patch Updates (CPUs). Fixes are prepared privately and released on the same day across OpenJDK and the vendors, which is why everybody’s builds move together.
Monthly releases, new in 2026. Oracle has started moving Java security updates towards a monthly cadence. The extra releases are called Critical Security Patch Updates (CSPUs). They carry security and stability fixes only, never new features. Oracle gives faster AI-driven vulnerability discovery as the reason. The first two shipped on 18 August and 17 November 2026. Adoptium releases Temurin whenever OpenJDK does a monthly release, and Azul started shipping monthly Zulu updates in August as well.
Planned dates for 2027:
| Type | Dates |
|---|---|
| Quarterly (CPU) | 19 Jan, 20 Apr, 20 Jul, 19 Oct |
| Monthly (CSPU) | 16 Feb, 18 May, 15 Jun, 17 Aug, 16 Nov, 14 Dec |
Not every month will bring a Java patch, but you can no longer assume three quiet months after each quarterly release.
Where Oracle fits
Oracle ships two different products from the same code.
Oracle OpenJDK builds (jdk.java.net) are GPL-licensed and free. Each version gets only two quarterly updates, after which Oracle expects you to move to the next release. That applies to LTS versions too.
Oracle JDK is the same code under Oracle’s own licence. Technically it has been interchangeable with Oracle’s OpenJDK builds since Java 11; the difference is licensing and support.
- The current LTS is free for everyone under Oracle’s No-Fee Terms and Conditions (NFTC).
- When the next LTS arrives, the previous one stays free for one more year. After that, its updates move to the OTN licence, which is free only for personal use, development and a few other uses. Production use then needs a paid subscription.
- In practice: Oracle JDK 8, 11 and 17 are already on OTN. Oracle JDK 21 updates moved to OTN with the October 2026 patch. Oracle JDK 25 stays free until October 2028.
- The paid Java SE Universal Subscription is priced per employee in your whole organisation, not per Java installation. Organisations with fewer than 3,000 employees pay from $100 a year (up to 10 employees) to $10,000 a year plus $147.20 per employee above 500. Enterprise pricing starts at $10.50 per employee per month.
- Paid support runs long: Premier Support for Oracle JDK 25 lasts until September 2030 and Extended Support until September 2033.
The builds compared
| Build | Maintained by | JVM | Licence and cost | Free updates for Java 25 | Notable |
|---|---|---|---|---|---|
| Eclipse Temurin | Eclipse Adoptium (Eclipse Foundation) | HotSpot | GPLv2 + CE, free | At least Sept 2033 | Vendor-neutral; TCK and AQAvit tested; paid support available from several companies |
| Azul Zulu | Azul | HotSpot | Free builds (GPLv2 + CE); paid Azul Core support | Sept 2033 | Paid tiers add security-only builds, SLAs and an indemnity; Java 6 and 7 for paying customers |
| Amazon Corretto | Amazon | HotSpot | GPLv2 + CE, free | Oct 2032 | Includes Amazon patches not yet merged upstream |
| Microsoft Build of OpenJDK | Microsoft | HotSpot | GPLv2 + CE, free | At least Sept 2030 | Paid support only on Azure; uses Temurin for Java 8 |
| Red Hat build of OpenJDK | Red Hat | HotSpot | Included with RHEL subscriptions | Per Red Hat lifecycle | Configures itself for RHEL’s FIPS mode |
| Oracle JDK | Oracle | HotSpot | NFTC, then OTN | Until Oct 2028; paid support to 2033 | Per-employee subscription after the free period |
| Oracle OpenJDK builds | Oracle | HotSpot | GPLv2 + CE, free | About six months | No long-term updates |
| IBM Semeru | IBM | Eclipse OpenJ9 | Open Edition: GPLv2 + CE; Certified Edition: IBM licence | Tracks OpenJDK releases | Only TCK-certified as Certified Edition; both editions are functionally identical |
BellSoft Liberica and SAP SapMachine are other well-known builds following the same pattern: the same OpenJDK source with their own support terms.
IBM Semeru is the odd one out. It keeps the OpenJDK class libraries but replaces Oracle’s HotSpot JVM with the Eclipse OpenJ9 JVM. Your code and APIs behave the same, but the JVM’s internals, tuning flags and diagnostic tools differ. As Part 2 shows, that can matter when a bug sits inside the JVM itself.
Azul Zulu: free versus paid, and the Classpath Exception debate
Azul publishes two distributions of Zulu:
- Community Availability (CA) builds are free to download and use without restrictions. They receive the regular quarterly releases and, since August 2026, the monthly ones.
- Subscriber Availability (SA) builds are for paying Azul Core customers. On top of everything in the free builds, they include a security-only variant of each release (based on the previous quarter’s code with only the new security fixes added) and contractual guarantees. Azul’s Standard tier promises quarterly patches within at most 15 days; Premium promises 48 hours and adds out-of-cycle patches. Azul’s own target is to ship on the same day as Oracle.
The paid builds also come with an indemnity against GPL “contamination”, which is where the licensing debate comes from.
OpenJDK’s GPLv2 licence is copyleft: on its own, it could require software built on top of it to be released under the GPL too. The Classpath Exception is an extra clause that switches this off for applications running on the JDK.
In 2021, Azul argued that this protection has gaps: in the HotSpot source, only 5 of 3,291 files carry the exception, and 54 of 3,351 files in java.base lack it. For its certified builds, Azul scans every source file to confirm the exception is present wherever it’s needed, and it indemnifies paying customers.
Three points put that in context:
- The free Zulu builds use exactly the same licence as Temurin, Corretto and Oracle’s OpenJDK builds. They are not legally weaker than anyone else’s.
- Azul’s own migration FAQ states that the Classpath Exception prevents the GPL’s copyleft provisions from applying to applications that use the JDK.
- Azul also says customers can keep using its builds after a subscription ends, because they are GPL open source. Paying buys support and insurance, not a different licence.
The indemnity matters most if you modify the JDK, or embed and redistribute it in a product you sell. In that case, check with your legal team.
Wrap-up
Every mainstream JDK is built from the same OpenJDK source. What actually differs is who builds it, how long it keeps getting updates, the licence it comes under, and how quickly fixes arrive. The version number tells you exactly which fixes you have, provided you read the OpenJDK part and ignore the vendor decoration.
Sources
- JEP 322: Time-Based Release Versioning
- OpenJDK Vulnerability Group
- Oracle Java SE Support Roadmap
- Oracle Java SE Licensing FAQ
- Oracle: JDK 21 approaches end of permissive license
- Oracle: Transitioning Java to more frequent security updates
- Oracle Java SE Universal Subscription FAQ
- Java Is Still Free 3.0.0 (Java Champions)
- Red Hat: The future of Java and OpenJDK updates without Oracle support
- Eclipse Temurin support and release roadmap
- Azul Java support roadmap
- Azul Zulu release notes
- Azul: CA and SA distributions
- Azul: Why the Classpath Exception is so important
- Amazon Corretto FAQs
- Microsoft Build of OpenJDK support roadmap
- IBM Semeru Certified Edition versus Open Edition