sbt is a build tool for Scala, Java, and more.

Interactive Usage

After connecting to the cluster, start an interactive session.

Load a particular version of sbt using:

module load sbt/1.3.6-Java-11.0.2

This makes the sbt command available to your session and also implicitly loads a particular version of Java.