Locations

Resources

Careers

Contact

Contact us

java licensing

OTN License Explained – What It Allows and What It Restricts

OTN License Explained – What It Allows and What It Restricts

OTN License Explained – What It Allows and What It Restricts

Oracle’s Technology Network (OTN) license for Java is a critical topic for enterprises running Oracle Java SE. Understanding the OTN license is essential for CIOs, CFOs, and IT decision-makers. Read our Oracle Java Licensing Guide.

This license defines when you can use Oracle’s Java for free and when you must pay, directly impacting compliance and costs. Unfortunately, many organizations misunderstand the OTN license terms, leading to risky assumptions.

One common misconception is that Oracle Java under the OTN license is “free” across the board. In reality, the OTN license strictly limits free use to certain scenarios. OTN is not a “free-to-use” license for production – relying on that assumption leads to audit exposure and unexpected costs.

What the OTN License Is (and Isn’t)

The Oracle Technology Network (OTN) License Agreement for Java SE is the click-through agreement users accept when downloading Oracle Java from Oracle’s website.

It replaced the older Binary Code License (BCL) in 2019 as Oracle’s primary free-use license for Java.

Under the BCL (which Oracle used for Java 8 and earlier), Java was broadly free for general-purpose use, including commercial production, with only a few restrictions. In contrast, the OTN license sharply curtails “free” usage to non-commercial contexts.

It is not a general free license for enterprise production deployments.

To understand where OTN fits in the Java licensing ecosystem, consider the landscape:

  • Binary Code License (BCL) – Oracle’s pre-2019 license that allowed free commercial use of Java (up to Java 8 Update 202) with minimal restrictions.
  • Oracle Technology Network (OTN) License – Introduced in 2019, now the default license for Oracle Java downloads (covering Java 8 updates beyond 8u202, Java 11, Java 17 after its free period, etc.). OTN permits only specific, non-commercial uses at no cost and strictly prohibits running Java for internal production systems.
  • No-Fee Terms and Conditions (NFTC) – Introduced with Java 17 in 2021, NFTC allowed free use of Oracle Java (even in production) for the current Long-Term Support version, but only until one year after the next LTS release. After that deadline, those Java versions revert to OTN rules (no free production use).
  • Java SE Universal Subscription – Oracle’s paid Java licensing model (launched 2023) for enterprises. It grants full production use rights and support in exchange for a subscription fee based on the
  • total employees. This is Oracle’s intended solution for any enterprise that needs Java for commercial use beyond OTN’s limits.

In summary, OTN replaced the older, lenient BCL and now strictly limits free Java use to non-commercial purposes. If your use of Oracle Java goes beyond the OTN license’s narrow allowances, you need to obtain a Java SE subscription or use an alternative solution. Understanding these limits is crucial to avoiding unintended violations.

Read about Oracle Employee-Based Licensing – Subscription Model Explained.

What the OTN License Allows (Free Use)

The OTN license agreement outlines specific scenarios in which Oracle Java SE can be used without incurring license fees.

These are the only “free use” cases permitted:

  • Personal Use (Non-Commercial): Running Oracle Java on a personal computer for non-commercial purposes (for example, personal games or applications) is allowed under the OTN license.
  • Development, Testing, Prototyping, and Demonstration: Using Oracle Java in a non-production environment for activities such as software development, testing, prototyping, or demonstrations is permitted at no additional cost. Once an application moves to a live production system, however, OTN free use no longer applies.
  • Oracle-Approved Product Use (Schedule A/B): Certain Oracle products include rights to use Java. If Java is used strictly to run an approved Oracle product (as defined in Oracle’s Schedule A and B list – for example, Oracle SQL Developer or an Oracle E-Business Suite component), that usage is covered under OTN. Outside of those specific products, any other Java use requires a proper license.
  • Oracle Cloud Infrastructure (OCI) Use: Java usage within Oracle’s cloud services is also permitted. For instance, if an Oracle Cloud Infrastructure service or agent includes Java, you can use it under OTN without additional licensing.

What the OTN License Restricts (Commercial Use Prohibited)

The OTN license is explicit about what you cannot do without purchasing a commercial Java license. The restrictions effectively draw a line around production and commercial use:

  • No Production or Internal Business Use: Oracle Java obtained under OTN cannot be used to run production applications or any internal business operations. Any Java use supporting day-to-day business (servers, applications, services) must be covered by a paid Java SE license (subscription) or replaced with a non-Oracle Java solution.
  • No Free Support or Updates for Commercial Use: OTN users are not entitled to Oracle’s support services or ongoing security updates for Java in business environments. In other words, if you rely on OTN for Java in production, you won’t receive critical patches or assistance from Oracle – those are available only to paying customers.
  • Downloading ≠ Production Rights: Freely downloading Oracle JDK from the Oracle Technology Network doesn’t permit you to use it in live business systems. The OTN license clearly forbids deploying those binaries in any revenue-generating or operational environment without a proper commercial license.
  • No Redistribution or Embedding: The OTN agreement strictly forbids redistributing Oracle’s Java binaries or embedding them in third-party products. You cannot bundle Oracle JRE/JDK with software you sell, include it in OEM devices, or otherwise share it with external parties under the free OTN terms.

Even with the seemingly clear-cut rules, many enterprises run into OTN compliance issues due to misunderstandings or a lack of oversight. Here are common traps and scenarios that put companies at risk:

  • OTN Download Deployed to Production: A developer might download Oracle’s JDK under the free OTN license for testing, then accidentally deploy it on a live system. Software obtained for development use can thus wind up running unlicensed in production.
  • Years of Unlicensed Java, Discovered in Audit: The biggest risk is running Oracle Java in production for years without realizing it’s unlicensed. An audit can suddenly uncover dozens of such installations across critical systems. For example, an enterprise with 20,000 employees might end up owing over $1.5 million per year to rectify such a compliance gap.

Cost Impact Scenarios (Illustrative Table)

Oracle’s Java SE subscription model is priced per employee, meaning a compliance issue might force you to pay for every employee in your organization.

The table below illustrates potential annual expenses if a company has to subscribe all employees due to OTN non-compliance:

Enterprise Size (Employees)Estimated Annual Java SE Subscription Cost (USD)
~5,000 employees~$630,000 per year
~10,000 employees~$990,000 per year
~20,000 employees~$1,620,000 per year

Even a mid-sized organization could incur a high six-figure annual expense, while a larger enterprise might owe millions per year.

And those are recurring yearly charges—Oracle could also demand back payments for years of unlicensed use. In short, treating the OTN license as if it were a free production pass can lead to significant and unexpected expenses.

Five Recommendations for Enterprises

To avoid Oracle Java OTN compliance issues and mitigate the risk of surprise costs, enterprise leaders should take proactive measures. Here are five recommendations:

  1. Educate and Enforce OTN Limits: Ensure that everyone on your IT team understands that Oracle Java, under the OTN license, is free only for personal or development use – never for production purposes. Back this up with clear policies (for example, mandating the use of open-source Java for all production deployments).
  2. Audit Your Java Usage: Regularly inventory all Java installations in your environment. Identify any Oracle JDK/JRE and determine if it was installed under an OTN license. If Oracle Java is running in production without a proper license, plan to address the issue immediately.
  3. Replace OTN Java in Production: Swap out any Oracle Java that’s being used in live systems under OTN. Replace it with OpenJDK or another free Java distribution to eliminate the license issue (this often greatly reduces risk and cost). If replacement isn’t possible, purchase the necessary Oracle Java subscriptions for those machines to become compliant.
  4. Establish Governance for Downloads: Control the Use of Oracle Software in Your Organization. Require that no Oracle Java be downloaded or installed without approval from a license or asset management team. This oversight will prevent accidental deployment of unlicensed Java in production.
  5. Be Proactive If You’re at Risk: Don’t wait for an audit if you discover OTN misuse. Reach out to Oracle or licensing experts to discuss a resolution, or promptly remove the unlicensed Java instances (e.g. switch them to OpenJDK). Handling the issue on your own terms is far better than reacting to an unexpected audit.

Ultimately, good governance and vigilance are the best defense against Oracle’s Java licensing traps. By treating the OTN agreement strictly as a development/testing license and actively managing your Java usage, your enterprise can avoid surprise costs and keep control of its IT budget.

Read about our Advisory Services

Oracle Java Licensing Pitfalls | How to Avoid Unnecessary Costs and Stay Compliant

Do you want to know more about our Java Advisory Services?

Author

  • Fredrik Filipsson

    Fredrik Filipsson is the co-founder of Redress Compliance, a leading independent advisory firm specializing in Oracle, Microsoft, SAP, IBM, and Salesforce licensing. With over 20 years of experience in software licensing and contract negotiations, Fredrik has helped hundreds of organizations—including numerous Fortune 500 companies—optimize costs, avoid compliance risks, and secure favorable terms with major software vendors. Fredrik built his expertise over two decades working directly for IBM, SAP, and Oracle, where he gained in-depth knowledge of their licensing programs and sales practices. For the past 11 years, he has worked as a consultant, advising global enterprises on complex licensing challenges and large-scale contract negotiations.

    View all posts