Java / Java 12
Which Version of Java Should I Use?
In 2022, there are 3 versions of Java that you'll commonly run across:
Java 8 was released in 2014 and replaced Java 7 as the default recommended download. Its improvements over Java 7 include language-level support for lambda expressions, a new DATE/TIME API, and project Nashorn (a JavaScript runtime environment that allows developers to embed JavaScript within Java apps). Oracle officially stopped posting updates for Java 8 after September 2016.
Java 11 was released in September of 2018. It is the next major version of Java offering LTS after 8.
Java 17 is the most recent version of Java offering LTS. Released in September 2021, Java 17 offers performance and security enhancements that make it worth the migration. It also has several cool development features worth checking out.
More Related questions...