In 2022, there are 3 versions of Java that you'll commonly run across:
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.