Join our webinar 9/18 to be prepared for the release of JDK 25 
Support
blue-swoosh

Java 21 End of Free Commercial Use FAQ

Oracle Java 25 has been released, which means Java 21 will continue to be free to use for the next 12 months. According to Oracle: 

JDK 21 will continue to receive free updates under the current No Fee Terms & Conditions (NFTC) license until September 2026. Subsequent updates will be licensed under the Java SE Oracle Technology Network License (OTN) for a fee. 

This licensing switch raises a number of questions for organizations that depend on Java. In the FAQ below, we address many of the questions we have heard. 

Is Java 21 free to use?

Yes, for now.

  • Java 21 builds obtained from Java.com are licensed by Oracle, and they will continue to be free for use until September 16, 2026. In July 2026, Oracle will distribute the last free update to Oracle JDK 21 that is licensed on a free, permissive use license known as the No Fee Terms and Conditions License. This license allows unrestricted use of a new, long-term support (LTS) release from its release date until a year after the release of the next LTS version. In the case of Java 21, the next LTS version is Java 25, which was released on September 16, 2025. 
  • Up-to-date builds of Java 21 can always be freely downloaded from providers like Azul and Eclipse Temurin, which offer TCK-tested Java distributions. Additionally, you can build Java 21 yourself from source code from the OpenJDK Project. These builds are licensed under the open-source GPLv2 license. 

What happens when Java 21 moves off Free Permissive Use?

If you are currently running Java apps that use Oracle JDK 21 as your runtime, you will need to obtain a standard Oracle Technology Network (OTN) license, which is available with a Java SE Universal subscription.

How much will it cost to license Java 21 under the Oracle Technology Network (OTN) license?

In general, if you are using an Oracle Java runtime governed by the OTN for commercial use, you will need a Java SE Universal subscription. These are priced based on an employee-based metric that starts at $15 per month per employee, where employee is defined as: 

  • All full-time, part-time and temporary employees 
  • All full-time employees, part-time employees and temporary employees of agents, contractors, outsourcers, and consultants that support your internal business operations 

The result can be a 2-5x increase in licensing costs for large organizations. 

However, there are exceptions. Oracle provides a free nonexclusive, nontransferable, limited license for personal use, development use, Oracle Approved Product Use, and Oracle Cloud Infrastructure Use. 

What are my Java 21 options?

If the Java 21 applications and infrastructure you use for commercial purposes are currently running on Oracle JDK you have two choices:  

  • Purchase a subscription to Oracle Java SE. This subscription comes with the benefit of support from Oracle’s Java experts and Critical Patch Updates, which are useful for ensuring stability while keeping your Java estate fully patched and up to date. 
  • Migrate to an OpenJDK distribution like Azul, which offers both free versions of Java 21 and fully supported versions with a subscription to Azul Platform Core.  

Azul Platform Core provides not only a functionally equivalent solution to Oracle Java SE, but equivalent support services as well, including quarterly Critical Patch Updates (CPUs) and out-of-cycle patches to address zero-day issues.  

What are the Java 21 migration best practices?

Azul has developed a proven migration methodology, based on hundreds of successful enterprise migrations. This methodology consists of three steps: Discovery, Migration and Compliance. 

  1. Discovery – the creation of a detailed catalog of existing JVM deployments using traditional ITAM tools or Azul Migration Toolkit (AMT) and Azul JVM Inventory to identify the installations and help automate their classification as to vendor, version, license liability, etc.
  2. Migration – Oracle JVMs are replaced with Azul Platform Core on both servers and desktops by automating the step-by-step instructions in Azul’s migration playbooks. If required, Java Applet and Java Web Start implementations are replaced with Azul’s open source solutions. All migrated applications are then tested to validate successful transition.
  3. Compliance – ensure ongoing security and stability by implementing quarterly Critical Patch Updates (CPUs). Ensure ongoing Oracle license compliance using Azul JVM Inventory which detects when / defends against Oracle JVMs being reinstalled 

For more information, see Oracle to OpenJDK Migration. 

Which version(s) of Java are free for use?

Java licensing can be complex, but there are some guidelines that are widely applicable. For example:  

  • All versions of Oracle Java are free for personal use. 
  • The latest version of a Long Term Support (LTS) version of Oracle Java is free to use up until one year after the next LTS release. 
  • Applications that bundle Oracle Java such as Weblogic, Siebel CRM and Oracle cloud-based apps are free to use.  
  • Java versions prior to Java 8u202 also carry no license liability. 

Licensing Terminology

What is EOL?

End of Life refers to versions of Java, specifically the Java Development Kit (JDK), the Java Runtime Environment (JRE) and the Java Virtual Machine (JVM), are no longer supported by Oracle or other vendors.

What is Oracle ULA?

Oracle’s Unlimited License Agreements offers unlimited use of agreed-upon Oracle software products for a specified time period in exchange for a flat fee.

What is Oracle NFTC?

Oracle’s No-Fee Terms and Conditions (NFTC) license, introduced in September 2021, allows free use of the current long-term support (LTS)  version of Oracle Java from the time that version is released until one year after the next LTS version is released.

What is OTNLA?

The Oracle Technology Network License Agreement is a licensing framework governing the use of Oracle software, including Oracle Java.