Skip to content

Instantly share code, notes, and snippets.

@liopic
Created October 29, 2021 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liopic/71d746a12c735b12d16a2debc1779876 to your computer and use it in GitHub Desktop.
Save liopic/71d746a12c735b12d16a2debc1779876 to your computer and use it in GitHub Desktop.
Java and Scala installation

Installing Java 8 or 11 on Linux

sudo apt-get install openjdk-8-jdk
sudo apt-get install openjdk-11-jdk
update-java-alternatives --list
sudo update-java-alternatives --set /path/to/java-8

It is also recommended to follow the instructions on installing sbt on Linux.

In both platforms you can also use sdkman to manage different java/scala versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment