Languages and runtimes · Oracle and the OpenJDK community
OpenJDK license
Running any Java program on OpenJDK, and shipping OpenJDK with an application, does not put your application under the GPL thanks to the Classpath exception. Oracle's own JDK builds are under separate Oracle terms.
CounselMode editorial view; not legal advice.
License
All versionsNow
GPL-2.0-only WITH Classpath-exception-2.0
Strong copyleft
- Internal use
- Low
- Your SaaS
- Low
- Shipped
- High
Checked against the license file in this release on 2026-11-23.