Java 18
Status | End of Life |
---|---|
Release Date | 2022-03-22 |
EOL Date | 2022-09-20 |
Latest Version | 18.0.2.1 |
Class File Version | 62.0 |
Unicode Version | 13.0.0 |
API Changes | Compare to 17 - 16 - 15 - 14 - 13 - 12 - 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 |
New Features
Here are all new features in Java 18 by category. There is also of list of all features of all Java releases.
JVM
- UTF-8 by Default (JEP 400)
Language
- Pattern Matching for switch 2. Preview (JEP 420, Java Almanac)
API
- Reimplement Core Reflection with Method Handles (JEP 416)
- Vector API 3. Incubator (JEP 417)
- Internet-Address Resolution SPI (JEP 418)
- Foreign Function & Memory API 2. Incubator (JEP 419)
- Deprecate Finalization for Removal (JEP 421)
Tools
Downloads
Vendor | Product | License | Platform Downloads |
---|---|---|---|
Adoptium | Eclipse Temurin | GPLv2+CE | |
Azul Systems | Zulu Builds of OpenJDK 18 | GPLv2+CE | |
BellSoft | Liberica | GPLv2+CE | |
IBM | Semeru Runtime Open Edition, Version 18 | GPLv2+CE | |
Oracle | Oracle JDK 18 | Oracle No-Fee | |
SAP | SapMachine 18 | GPLv2+CE |
Sandbox
Instantly compile and run Java 18 snippets without a local Java installation.