Learn to set up the development environment in your machine with Eclipse IDE and Java 16. Note that Eclipse provides Java 16 support out of the box in version 2021-06.
1. Download Java 16
Java 16 is the latest version today when we are writing this article.
We have two choices here. Either download the JDK installer .exe file or the JDK archive package which we can extract in some location in the system. Both downloads can be found in this download link.
I prefer the archive packages as we can have different JDK versions in the system and can configure them as per project need. They do not make any changes in the System registry, as opposed to the executable file.

2. Download and Install Eclipse
Similar to JDK distribution, we have two choices here. Either download the Eclipse installer .exe file or Eclipse archive package which we can extract in some location in the system.
I prefer to use Eclipse archive/zip file. Zipped version is shipped with most of the built-in plugins which are needed for Java-based project development tasks.
- Download the Eclipse zip file and extract it to some location.

Launch Eclipse using eclipse.exe
launcher file.
Check the default JRE version which points to JRE 16.

We can change the default System library to point to JDK 16 which we downloaded in first step.

Apply the changes and refresh the project. Now your application is using JDK 16.
Happy Learning !!