This repo has the code for modern java.
Java Installation using Installer
Java Installation using sdkman
- Follow the instructions in the below link to install sdkman in your mac.
- Run the below command to view the different version of supported Java
sdk list java
sdk list java | grep '20'
- Running the below command will install Java 20.
sdk install java 20.0.2-tem
sdk list java | grep '21'
- Running the below command will install Java 20.
sdk install java 21-oracle