Version | Status | Class file version | First official release | Latest patch release | End of premier support | End of extended support |
---|
Java SE 23 | Active | 67.0 | 23 3 months ago September 17, 2024 | 23.0.1 3 months ago October 15, 2024 | Ends in 2 months March 2025 | - |
Java SE 22 | End of life | 66.0 | 22 9 months ago March 19, 2024 | 22.0.2 5 months ago July 16, 2024 | Ended 3 months ago September 2024 | - |
Java SE 21 | LTS Active | 65.0 | 21 1 year ago September 19, 2023 | 21.0.5 3 months ago October 15, 2024 | Ends in 3 years, 8 months September 2028 | Ends in 6 years, 8 months September 2031 |
Java SE 20 | End of life | 64.0 | 20 1 year ago March 21, 2023 | 20.0.2 1 year ago July 18, 2023 | Ended 1 year, 3 months ago September 2023 | - |
Java SE 19 | End of life | 63.0 | 19 2 years ago September 20, 2022 | 19.0.2 1 year ago January 17, 2023 | Ended 1 year, 9 months ago March 2023 | - |
Java SE 18 | End of life | 62.0 | 18 2 years ago March 22, 2022 | 18.0.2.1 2 years ago August 18, 2022 | Ended 2 years, 3 months ago September 2022 | - |
Java SE 17 | LTS Active | 61.0 | 17 3 years ago September 14, 2021 | 17.0.13 3 months ago October 15, 2024 | Ends in 1 year, 8 months September 2026 | Ends in 4 years, 8 months September 2029 |
Java SE 16 | End of life | 60.0 | 16 3 years ago March 16, 2021 | 16.0.2 3 years ago July 20, 2021 | Ended 3 years, 3 months ago September 2021 | - |
Java SE 15 | End of life | 59.0 | 15 4 years ago September 15, 2020 | 15.0.2 3 years ago January 19, 2021 | Ended 3 years, 9 months ago March 2021 | - |
Java SE 14 | End of life | 58.0 | 14 4 years ago March 17, 2020 | 14.0.2 4 years ago July 14, 2020 | Ended 4 years, 3 months ago September 2020 | - |
Java SE 13 | End of life | 57.0 | 13 5 years ago September 17, 2019 | 13.0.2 5 years ago January 14, 2020 | Ended 4 years, 9 months ago March 2020 | - |
Java SE 12 | End of life | 56.0 | 12 5 years ago March 19, 2019 | 12.0.2 5 years ago July 16, 2019 | Ended 5 years, 3 months ago September 2019 | - |
Java SE 11 | LTS Active | 55.0 | 11 6 years ago September 25, 2018 | 11.0.25 3 months ago October 15, 2024 | Ended 1 year, 3 months ago September 2023 | Ends in 7 years January 2032 |
Java SE 10 | End of life | 54.0 | 10 6 years ago March 20, 2018 | 10.0.2 6 years ago July 17, 2018 | Ended 6 years, 3 months ago September 2018 | - |
Java SE 9 | End of life | 53.0 | 9 7 years ago September 21, 2017 | 9.0.4 6 years ago January 16, 2018 | Ended 6 years, 9 months ago March 2018 | - |
Java SE 8 | LTS Active | 52.0 | 8 10 years ago March 18, 2014 | 8u431 3 months ago October 15, 2024 | Ended 2 years, 9 months ago March 2022 | Ends in 5 years, 11 months December 2030 |
Java SE 7 | End of life | 51.0 | 7 13 years ago July 11, 2011 | 7u351 2 years ago July 19, 2022 | Ended 2 years, 5 months ago July 2022 | - |
Java SE 6 | End of life | 50.0 | 6 18 years ago December 12, 2006 | 6u211 6 years ago October 16, 2018 | Ended 6 years ago December 2018 | - |
Java SE 5 | End of life | 49.0 | 5.0 20 years ago September 30, 2004 | 5.0u85 9 years ago April 14, 2015 | Ended 15 years, 2 months ago October 2009 | - |
J2SE 1.4 | End of life | 48.0 | 1.4.0 22 years ago February 13, 2002 | 1.4.2_42 11 years ago February 19, 2013 | Ended 16 years, 2 months ago October 2008 | - |
J2SE 1.3 | End of life | 47.0 | 1.3.0 24 years ago May 08, 2000 | 1.3.1_32 13 years ago October 18, 2011 | Ended 18 years, 9 months ago March 2006 | - |
J2SE 1.2 | End of life | 46.0 | 1.2.0 26 years ago December 04, 1998 | 1.2.2_18 18 years ago January 12, 2007 | Ended 21 years, 1 month ago November 2003 | - |
JDK 1.1 | End of life | 45.3 | 1.1 27 years ago February 18, 1997 | 1.1.8_010 22 years ago October 09, 2002 | Ended 22 years, 2 months ago October 2002 | - |
JDK 1.0 | End of life | 45.0 | 1.0 28 years ago January 23, 1996 | 1.0.2 28 years ago May 07, 1996 | Ended 28 years, 7 months ago May 1996 | - |
The Premier Support and Extended Support date of each Java releases can be found this page.
You can check the Java version that you have installed on your machine by running the below command:
$ java --version
You can check the Class file version by using the javap
tool as shown below:
- If you use Linux OS:
$ javap -verbose MyClass | grep "major"
- If you use Windows OS:
$ javap -verbose MyClass | findstr "major"