The Java Version Almanac
javaalmanac.io
Feedback on this page?

Java 12

Status End of Life
Release Date 2019-03-19
EOL Date 2019-09-17
Latest Version 12.0.2
Bytecode Version 56.0
API Changes Compare to 11 - 10 - 9 - 8 - 7 - 6 - 5 - 1.4 - 1.3 - 1.2 - 1.1
Documentation Release Notes, Language Spec, VM Spec, JavaDoc
SCM hg
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

JVM

Language

API

Downloads

Vendor Product License Platform Downloads
AdoptOpenJDK AdoptOpenJDK GPLv2+CE
Azul Systems Zulu Builds of OpenJDK 12 GPLv2+CE
BellSoft Liberica GPLv2+CE
Oracle Java SE Development Kit 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.

import java.util.function.Function; public class Java12 { public static void main(String[] args) { Function<String, String> hello = s -> String.format("Hello %s!", s); System.out.println("Java 12".transform(hello)); } }