Java and Kotlin

You can install the one of the versions listed below via SDKMAN or manually by following the installation guide on their website.

Azul Zulu.

Amazon Coretto

Eclipse Temurin from Adoptium.

SDKMAN

You can easily install Java via SDKMAN. After installation you can use the command sdk list java to see available java versions. The version you use depends on your context, meaning which app you are trying to use it in. Therefore, always refer to the version mentioned in the README.md file of the repository. Other useful commands:

List available Java implementations

sdk list java

Installing Java OpenJDK version

sdk install java x.y.z-open

Switching between different java versions

sdk use java <version>

Setting a default version

sdk default java <version>

Maven

Maven can also be installed with SDKMAN or manually by following their installation guide: https://maven.apache.org/install.html

Installing maven with sdkman

sdk install maven x.y.z

Running a maven project:

mvn clean install