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)
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.