Java

Which free OpenJDK builds can replace Oracle JDK in production?

By RedTech Experts Advisory Team 6 min read

Short answer

Several TCK-tested OpenJDK builds can replace Oracle JDK at no license cost, including Eclipse Temurin, Amazon Corretto and the Microsoft Build of OpenJDK. Their published dates for Java 21 differ: Microsoft to at least September 2028, Temurin to at least December 2029 and Corretto to October 2030, as listed on each vendor's support page in October 2026. Red Hat's build is supported to December 2029 through a RHEL subscription.

The question has become concrete this quarter. According to the Oracle Java SE Support Roadmap (updated September 15, 2026), update releases of Oracle JDK 21 issued from the October 2026 Critical Patch Update onward are planned to be offered under the Java SE OTN license, the same license Oracle uses for updates to Java 8, 11 and 17. The OTN license is free only for personal, development and certain other uses, so organizations running JDK 21 in production need to decide: keep updating Oracle JDK under a Java SE subscription, stay on an older update, or move to another build of OpenJDK.

This article describes the main free alternatives as their own publishers describe them. It does not rank them.

What is an OpenJDK build, and is it the same Java?

An OpenJDK build is a compiled binary of the OpenJDK project, the open-source reference implementation of the Java SE Platform. Microsoft’s support page notes that the upstream project is governed by Oracle and released under the GNU General Public License version 2 with the Classpath Exception (GPLv2+CE). Several vendors compile, test and publish their own binaries from that source.

The practical test of “same Java” is the TCK (Technology Compatibility Kit): the test suite that checks whether an implementation conforms to the Java SE specification. Each of the builds below states that it is tested against it:

  • Eclipse Temurin (Eclipse Adoptium): the Adoptium FAQ says each Temurin release has passed the relevant Oracle Java Compatibility Kit and must also pass the AQAvit quality verification suite.
  • Amazon Corretto: the Corretto FAQ says it is certified using the Java TCK.
  • Microsoft Build of OpenJDK: Microsoft says its LTS releases are tested against Oracle’s Java TCK.

Some builds also include fixes that are not yet upstream. Amazon says Corretto includes patches “not yet integrated” in the OpenJDK update projects; Microsoft says such fixes are signposted in its release notes.

How long is Java 21 supported on each build?

Java 21 support dates differ by up to two years between builds, so the date you choose determines when your next migration happens. The table reflects each publisher’s page as accessed on October 17, 2026.

BuildLicense / costJava 21Java 25Paid support option
Eclipse TemurinGPLv2+CE, no costAt least Dec 2029At least Sep 2031Not from Eclipse; Adoptium lists third-party providers
Amazon CorrettoGPLv2+CE, no costEnd of life Oct 2030End of life Oct 2032Covered under existing AWS Support Plans
Microsoft Build of OpenJDKFree quarterly updatesEarliest end of support Sep 2028Earliest end of support Sep 2030Only for Azure workloads with an Azure Support Plan
Red Hat build of OpenJDKEntitlement included in a RHEL subscriptionFull support to Dec 31, 2029Full support to Dec 31, 2030Part of the subscription; ELS phase needs a separate entitlement
Oracle JDK (for comparison)OTN license for JDK 21 updates from Oct 2026 CPUPremier Support to Sep 2028 (Oracle Customers)Premier Support to Sep 2030Java SE Subscription

A few details from the sources matter when you read the table:

  • Adoptium commits to supporting LTS releases “for at least four years” and says its own community support means triaging issues; for SLA-backed support it points to commercial companies.
  • Amazon states that Corretto support is “unrelated to AWS Support Plans”, but that customers with a plan are covered on the same basis as other AWS software. Amazon says it has no plans for Corretto-specific support plans.
  • Microsoft calls its dates “earliest end-of-support dates” and “initial targets” that it may extend. Its commercial support covers only Java workloads on Azure, Azure Stack and Azure Arc.
  • Red Hat includes OpenJDK entitlements in a Red Hat Enterprise Linux subscription. For non-Red Hat Java workloads on Windows, it requires an additional OpenJDK on Windows subscription. Red Hat also offers enterprise support for selected Eclipse Temurin binaries.

What about Oracle’s own OpenJDK builds?

Oracle publishes OpenJDK builds under GPLv2+CE at jdk.java.net, but they follow only the current release. As of October 17, 2026, jdk.java.net lists JDK 27 as “ready for use”, and the JDK 25 page says it “has been superseded”, with older releases “no longer recommended for use in production”. That makes them a poor fit for organizations that want to stay on an LTS version for several years. Oracle JDK 25 is a separate case: the roadmap says it is offered under the No-Fee Terms and Conditions (NFTC) license, with updates after September 2028 planned to move to OTN.

What should you check before switching?

Switching the runtime is usually simpler than switching a database, but it still needs a plan:

  1. Inventory. List where Oracle JDK is installed, which version and update, and what runs on it. Separate desktops, servers, containers and build pipelines.
  2. Oracle products that include Java. According to Oracle’s published Java FAQs, some Oracle applications and middleware are entitled to use Java SE as part of the product. Do not replace the JDK under an Oracle product without checking that product’s certification. See Do I need a Java license if I run Oracle EBS, WebLogic, Forms or JD Edwards?.
  3. Third-party certification. Check that your ISVs certify the build you choose, or at least the Java version.
  4. Support model. Decide whether community support is enough or whether you need a contract. Check this against the table above, by platform.
  5. Update discipline. All the builds release quarterly updates aligned with the OpenJDK schedule (Adoptium cites the third Tuesday of January, April, July and October). A free build you never patch is not a lower-risk choice.
  6. Removal evidence. If you move off Oracle JDK, keep a record of what was uninstalled and when. It matters if Oracle later asks about Java usage.

What does this mean for an Oracle Java negotiation?

A documented alternative changes the conversation. Oracle’s Java SE Universal Subscription is priced per employee, not per installation (see What counts as an “employee” in Oracle’s Java SE Universal Subscription? and How much does Java SE Universal Subscription cost?). When you can show that most workloads can run on a TCK-tested build with a published support date, the discussion moves from “how many employees” to “which workloads actually need Oracle”. The licensing details are in Is Oracle JDK 21 still free after October 2026? and Oracle NFTC vs OTN license.

If you are deciding between an OpenJDK migration and an Oracle Java renewal, talk to RedTech Experts. We can review your Java position and your options before you commit, as part of our Oracle contract negotiation work.

The RedTech View

An OpenJDK build is not a negotiating trick; it is a real technical option with its own costs: testing, packaging, monitoring and, for some teams, a paid support contract with someone else. The decision should be made on those facts, application by application.

What matters commercially is that the option is documented. A Java renewal priced on an employee metric looks very different when you can show which workloads already run on a TCK-tested build, which ones depend on an Oracle product that includes Java, and which ones genuinely need Oracle Java SE.

RedTech helps you turn that inventory into a negotiating position, so the Java decision is made on your numbers rather than on the renewal deadline.

Talk to us

Weighing OpenJDK against an Oracle Java renewal? Let's talk before you decide.

Book a short, no-obligation meeting with our team. We’ll look at your situation from the buyer’s side and tell you where you have room to negotiate. We reply within 24 hours.

Sources

Oracle policies, price lists and programs change. Always confirm against the current version and the terms of your own agreements. This article is general information, not legal, tax or accounting advice.

Weighing OpenJDK against an Oracle Java renewal? Let's talk before you decide.

RedTech Experts is an independent advisory firm and is not affiliated with, endorsed by, or sponsored by Oracle Corporation. Oracle and Java are registered trademarks of Oracle and/or its affiliates.