Skip to main content

SdkMan!

SdkMan! is a Software Development Kit (SDK) manager which can let you install numerous SDKs and tools like Java (JDK), Scala, sbt, etc.

Installation

curl -s "https://get.sdkman.io" | bash

Usage

  • List all available SDK Candidates
    sdk list

For installation of Java and Scala, please check out the Java and Scala pages.

Setup

Let's enable auto env change to have a specific Java version per project when necessary.

Run the following command.

sdk config

When you see the list of config properties, find the following line

sdkman_auto_env=false

and change to

sdkman_auto_env=true