Java 12
Status | End of Life |
---|---|
Release Date | 2019-03-19 |
EOL Date | 2019-09-17 |
Latest Version | 12.0.2 |
Class File Version | 56.0 |
Unicode Version | 11.0.0 |
API Changes | Compare to 11 - 10 - 9 - 8 - 7 - 6 - 5 - 1.4 - 1.3 - 1.2 - 1.1 - 1.0 |
Documentation | Release Notes, Language Spec, VM Spec, JavaDoc |
SCM | git |
The first Java release that included a preview feature (JEP 12).
Such features are only available if the compiler and JVM is launched with the
--enable-preview
option. Previews allow to get early feedback on important changes in the Java language.
New Features
Here are all new features in Java 12 by category. There is also of list of all features of all Java releases.
JVM
- Shenandoah GC (JEP 189)
Language
- Switch Expressions 1. Preview (JEP 325, Java Almanac)
API
- JVM Constants (JEP 334)
Should I Upgrade?
Java 12 is end-of-life since 2019-09-17. Unless you have a support contract for this version and a compelling reason to stay on the old version you should definitely upgrade to a newer version with active support.
Please consider upgrading to a current long term support LTS version Java 17 or Java 21 to rely on a maintained platform and get advantage of the latest features and improvements.
Downloads
Vendor | Product | License | Platform Downloads |
---|---|---|---|
AdoptOpenJDK | AdoptOpenJDK | GPLv2+CE | |
Azul Systems | Zulu Builds of OpenJDK 12 | GPLv2+CE | |
BellSoft | Liberica | GPLv2+CE | |
Oracle | Oracle JDK 12 | Commercial | |
Red Hat | Red Hat build of OpenJDK 12 | GPLv2+CE | |
SAP | SapMachine 12 | GPLv2+CE |
Sandbox
Instantly compile and run Java 12 snippets without a local Java installation.