Java
Is Oracle JDK 21 still free after October 2026?
Short answer
Only the updates released up to September 2026. Oracle's Java SE Support Roadmap (updated September 15, 2026) says Oracle JDK 21 updates released from the October 2026 Critical Patch Update onward are planned to be offered under the Java SE OTN license, which does not allow general production use without a fee. Oracle JDK 25 remains under the free NFTC license until September 2028.
Oracle’s next quarterly Critical Patch Update is scheduled for October 20, 2026, according to Oracle’s Critical Patch Updates, Security Alerts and Bulletins page. For organizations running Oracle JDK 21 in production, that date marks a licensing change: the updates in that release, and the ones after it, are planned to come under a different license from the one that made JDK 21 free to use. This article covers JDK 21 specifically; for the broader decision, see RedTech’s Java licensing decision guide in Insights.
What changes for Oracle JDK 21 in October 2026?
The license for new updates changes from the NFTC to the OTN license. The Oracle Java SE Support Roadmap, updated September 15, 2026, states that “Updates of JDK 21 released beginning with the October 2026 Critical Patch Update (CPU), are planned to be offered under the Java SE OTN license,” and that users wanting to continue with permissively licensed versions after October 2026 should upgrade to Oracle JDK 25 or later.
The two licenses are defined as follows:
- NFTC (Oracle No-Fee Terms and Conditions): Oracle’s no-fee license that, according to the Oracle Java SE Licensing FAQ, permits free use for all users, including commercial and production use.
- OTN (Oracle Technology Network License Agreement for Oracle Java SE): a license that permits use only for personal use, development use, Oracle Approved Product Use and Oracle Cloud Infrastructure use. Other uses require a separate paid license.
The Oracle Java downloads page states the consequence directly: subsequent JDK 21 updates “will be licensed under the Java SE OTN License (OTN) and production use beyond the limited free grants of the OTN license will require a fee.” The detailed differences are covered in Oracle NFTC vs OTN license: which one covers my JDK?.
Can I keep using the Oracle JDK 21 builds I already downloaded?
Yes, under the license you received them with. The Oracle Java SE Licensing FAQ states: “You may continue to use releases you have downloaded under the terms of the license under which you downloaded them.” The FAQ’s license guide lists Oracle JDK 21 “releases through September 2026” under the NFTC for all users.
The practical problem is security, not the existing binaries. The same FAQ notes that older releases “are not updated with the latest security patches and are not recommended for use in production.” Staying on the last NFTC build of JDK 21 means accepting that it will not receive the October 2026 or later security fixes unless you obtain them under terms that permit your use.
Is this the same thing that happened with Oracle JDK 17?
Yes, it follows the same pattern. According to the Support Roadmap, Oracle JDK 17 updates released as of October 15, 2024 are available under the Java SE OTN license, one year after JDK 21 was released. JDK 21 is now following the same path one year after the September 2025 release of JDK 25.
| Oracle JDK release | Free NFTC updates | Later updates | Oracle Premier Support until |
|---|---|---|---|
| JDK 17 (LTS) | Through September 2024 | OTN license from October 2024 | September 2026 |
| JDK 21 (LTS) | Through September 2026 | Planned OTN license from the October 2026 CPU | September 2028 |
| JDK 25 (LTS) | Planned through September 2028 | Planned OTN license after September 2028 | September 2030 |
Source: Oracle Java SE Support Roadmap (updated September 15, 2026). Oracle marks the support dates as examples and “or later”, and refers customers to the Oracle Lifetime Support Policy for the authoritative dates.
Note that Oracle JDK 25 is also on a clock. Moving from JDK 21 to JDK 25 under the NFTC solves the problem until September 2028, when the roadmap says the same change is planned for JDK 25.
What are my options if I run Oracle JDK 21 in production?
There are four broad paths, and many organizations combine them by workload:
- Upgrade to Oracle JDK 25 under the NFTC. This is the route Oracle’s roadmap points to for continued no-fee use. It requires application testing, and it buys time until September 2028.
- Move to another OpenJDK distribution. Oracle itself provides OpenJDK builds under the GPL at jdk.java.net, and other providers publish their own builds and support windows. See Which free OpenJDK builds can replace Oracle JDK in production?.
- Confirm whether the use is already covered. If Oracle JDK 21 runs only to support another Oracle product you license, rights may already exist; see Do I need a Java license if I run Oracle EBS, WebLogic, Forms or JD Edwards?.
- Subscribe. A Java SE Universal Subscription provides commercial rights and updates, priced on your total employee count, as explained in How much does Java SE Universal Subscription cost?.
What should I do before the next patch cycle?
Inventory first, then decide. Identify every Oracle JDK 21 installation, including those inside container images and build pipelines, record the exact update version, and note why each exists. Flag any automated update process that might pull an October 2026 or later Oracle JDK 21 update into production without review, because that build would come under the OTN license.
If that analysis points toward an Oracle subscription, or Oracle has already contacted you about Java, talk to RedTech Experts. Through our Oracle contract negotiation service we help you size the requirement and negotiate it before you commit.
This article summarizes Oracle’s public documents as of October 17, 2026. The roadmap describes these changes as “planned”; confirm the license shown for each release at download time. This is not legal advice.
The RedTech View
The October 2026 change does not make existing JDK 21 installations non-compliant overnight, but it does end the ability to keep patching Oracle JDK 21 in production at no cost. That is a security problem as much as a licensing one, and it tends to surface during the next patch cycle rather than at a planned decision point.
We think the right response is a deliberate choice per workload: upgrade to Oracle JDK 25 under the NFTC, move to another OpenJDK distribution, keep Oracle JDK 21 under a subscription, or confirm that the use is already covered by another Oracle product.
A subscription can be the right answer, but it should be the result of that analysis, not the default reaction to a patch notice. Because the subscription is priced per employee, buying it to cover a few JDK 21 servers can cost far more than the problem it solves.
RedTech helps Oracle customers assess their JDK 21 exposure and, where a subscription is needed, negotiate it on defensible terms.
Talk to us
Running Oracle JDK 21 in production? Let's talk about your options before you buy.
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 Java SE Support Roadmap (updated September 15, 2026) (opens in a new tab)
- Oracle Java SE Licensing FAQ (updated September 16, 2025) (opens in a new tab)
- Oracle Java Downloads (JDK 21 and JDK 25 license notices) (opens in a new tab)
- Oracle Critical Patch Updates, Security Alerts and Bulletins (opens in a new tab)
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.
