In this page we will follow the new interesting features of Java 16.
To know what’s included in this release: http://java-version.com/java/16
How to test the preview features: https://marco.dev/java-test-preview-features
Install Java 16 using SDKMAN!
To quickly install Java releases and switch between them I use SDKMAN!, you can see more details here: https://marco.dev/java-angular-setup.
We are going to install OpenJDK, this is the ‘official version’ used for the development of the JDK.
For Java 16 you can execute the following command:
sdk install java -version 16.ea.21-open
Here the video of the install: