|
2 | 2 |
|
3 | 3 | ## Java Versions and Features
|
4 | 4 |
|
5 |
| -| Version | Date | Features | |
6 |
| -|-------------|----------|-------------------------------------------------------------------------------------------------| |
7 |
| -| Java 1.0 | Jan 1996 | OS Independant Programming language, Java Virtual Machine | |
8 |
| -| J2SE 5.0 | Sep 2004 | Enhanced For Loop, Generics, Enums, Autoboxing | |
9 |
| -| Java SE 6 | Dec 2006 | Scripting Language Support, Improvements to Web Services | |
10 |
| -| Java SE 7 | Jul 2011 | Project Coin (Diamond Operator, Strings in Switch), NIO.2 | |
11 |
| -| Java SE 8 LTS | Mar 2014 | Functional Programming, Lambda & Streams, Multiple Inheritance | |
12 |
| -| Java SE 9 | Sep 2017 | Modularization - Java Platform Module System | |
13 |
| -| Java SE 10 | Mar 2018 | Local Variable Type Inference, List / Set / Map - CopyOf | |
14 |
| -| Java SE 11 LTS | Sep 2018 | New HTTP Client API, Nest-based access control, Remove JavaFX | |
15 |
| - | Java SE 12 | Mar 2019 | Switch Expressions (Preview) | |
16 |
| -| Java SE 13 | Sep 2019 | Text Blocks (Preview) | |
17 |
| -| Java SE 14 | Mar 2020 | Switch Expressions (Preview in 12 and 13), Pattern Matching for instanceof (Preview) | |
18 |
| -| Java SE 15 | Sep 2020 | Text Blocks (Preview in 13), Sealed Classes (Preview), Hidden Classes | |
19 |
| -| Java SE 16 | Mar 2021 | Record Classes (Preview in 14, 15), Pattern Matching for instanceof, Sealed Classes | |
20 |
| -| Java SE 17 LTS | Sep 2021 | Sealed Classes, Pattern Matching for switch (Preview), Enhanced Pseudo-Random Number Generators | |
21 |
| -| Java SE 18 | Mar 2022 | UTF-8 by default, Simple Web Server, Vector API (Second Incubator) | |
22 |
| -| Java SE 19 | Sep 2022 | Virtual Threads (Preview), Pattern Matching for switch (Third Preview) | |
23 |
| -| Java SE 20 | Mar 2023 | Scoped Values (Incubator), Virtual Threads (Second Preview) | |
24 |
| -| Java SE 21 LTS | Sep 2023 | Record Patterns, Unnamed Patterns and Variables, String Templates (Preview) | |
25 |
| -| Java SE 22 | Mar 2024 | Pattern Matching (Primitives), Stream Gatherers, Vector API | |
26 |
| -| Java SE 23 | Sep 2024 | Pattern Match (Primitives), Module Import, Simplified Main, Stream Gatherers, Vector API | |
| 5 | +| Version | Date | JEPs | Features | |
| 6 | +|-----------------|----------|------|-------------------------------------------------------------------------------------------------| |
| 7 | +| Java 1.0 | Jan 1996 | | OS Independant Programming language, Java Virtual Machine | |
| 8 | +| J2SE 5.0 | Sep 2004 | | Enhanced For Loop, Generics, Enums, Autoboxing | |
| 9 | +| Java SE 6 | Dec 2006 | | Scripting Language Support, Improvements to Web Services | |
| 10 | +| Java SE 7 | Jul 2011 | | Project Coin (Diamond Operator, Strings in Switch), NIO.2 | |
| 11 | +| Java SE 8 LTS | Mar 2014 | 56 | Functional Programming, Lambda & Streams, Multiple Inheritance | |
| 12 | +| Java SE 9 | Sep 2017 | 91 | Modularization - Java Platform Module System | |
| 13 | +| Java SE 10 | Mar 2018 | 12 | Local Variable Type Inference, List / Set / Map - CopyOf | |
| 14 | +| Java SE 11 LTS | Sep 2018 | 17 | New HTTP Client API, Nest-based access control, Remove JavaFX | |
| 15 | + | Java SE 12 | Mar 2019 | 8 | Switch Expressions (Preview) | |
| 16 | +| Java SE 13 | Sep 2019 | 5 | Text Blocks (Preview) | |
| 17 | +| Java SE 14 | Mar 2020 | 16 | Switch Expressions (Preview in 12 and 13), Pattern Matching for instanceof (Preview) | |
| 18 | +| Java SE 15 | Sep 2020 | 14 | Text Blocks (Preview in 13), Sealed Classes (Preview), Hidden Classes | |
| 19 | +| Java SE 16 | Mar 2021 | 17 | Record Classes (Preview in 14, 15), Pattern Matching for instanceof, Sealed Classes | |
| 20 | +| Java SE 17 LTS | Sep 2021 | 14 | Sealed Classes, Pattern Matching for switch (Preview), Enhanced Pseudo-Random Number Generators | |
| 21 | +| Java SE 18 | Mar 2022 | 9 | UTF-8 by default, Simple Web Server, Vector API (Second Incubator) | |
| 22 | +| Java SE 19 | Sep 2022 | 7 | Virtual Threads (Preview), Pattern Matching for switch (Third Preview) | |
| 23 | +| Java SE 20 | Mar 2023 | 6 | Scoped Values (Incubator), Virtual Threads (Second Preview) | |
| 24 | +| Java SE 21 LTS | Sep 2023 | 15 | Record Patterns, Unnamed Patterns and Variables, String Templates (Preview) | |
| 25 | +| Java SE 22 | Mar 2024 | | Pattern Matching (Primitives), Stream Gatherers, Vector API | |
| 26 | +| Java SE 23 | Sep 2024 | 12 | Pattern Match (Primitives), Module Import, Simplified Main, Stream Gatherers, Vector API | |
27 | 27 |
|
28 | 28 | ## Java 23 Features
|
29 | 29 |
|
|
0 commit comments