Linux
Last updated
Was this helpful?
Last updated
Was this helpful?
This document will guide you through setup on Linux so you'll be ready to do the course exercises, and optionally, continue exploring Scala after you're done.
Use the java -version
command from a shell prompt to see if java is installed. If you don't have version 1.8 or higher of the JDK installed on your system, use your package manager to install it or follow the directions at the .
To verify the JDK installation, open the Command Prompt and type java -version
:
The package installation should have updated your PATH
environment to add the bin/
directory of the installed JDK, but if the above command didn't work you will need to update the PATH
variable manually, as described .
If you have problems installing the JDK, ask for help.
. Unzip the project, and from the command line (navigate inside the directory) make sure you can do the following (this will take a little while the first time you do it).
An image of three circles should appear!
Verify installation by opening a command prompt window and entering scala
at the prompt:
The scala>
prompt indicates you are in the Scala REPL. For now, just type :quit
at the prompt to exit the REPL.
Use your package manager OR go to the and choose the first option to download the Scala binaries installation package to your computer. Then follow the instructions .
To install sbt, simply follow the instructions