Over the past 18 months, thousands of companies have received audit notices from Oracle about unlicensed Java installations.
On September 20, 2026, Oracle JDK 21 moved from NFTC (free) to OTN (paid for commercial use). If your company auto-updates Java, you may now be classified as out of compliance for a passive installation.
This guide walks through:
- Which Java versions are actually free (OpenJDK, Temurin, Corretto, Azul Community)
- Which are paid (Oracle JDK 8 after build 8u202, JDK 11/17/21/22+)
- 5-step audit: find Java on your fleet, parse versions, cross-check licenses, triage machines, plan the fix
- Real examples from Reddit and HN where teams discovered unexpected Oracle installs
Knowing which machines have which Java versions is the first step to being in control. This post includes commands to audit Windows, Linux, and macOS.
