ScalaSchool

Setup Your Machine:

In order to work on the programming assignments, you need to have the following tools installed on your machine:

Installing the JDK

Check you have the right version of the JDK by typing in the console: Run javac -version If you see something like:

$ javac -version
javac 11.0.10

Move to the next section. Otherwise you’ll need to install 11 version of the oracle JDK

If you are running OSX and a Homebrew Cask user, from a terminal run:

$  brew cask install adoptopenjdk/openjdk/adoptopenjdk11

Here is more info on installing the adopt open jdk

or if you prefer to, you can get the installer from Oracle

Follow the setup instructions to download and install. Once the installation is complete, very the installation by running the following command in a terminal session:

Installing sbt

Check to see if sbt is already installed:

$ sbt sbtVersion
...
[info] 1.4.7

If you need to install and you are running OSX and a Homebrew user, from a terminal run:

$ brew install sbt

Other wise follow the setup instruction to download and install. Once the installation is complete, verify the installation by running the following command in a terminal session:

Summary of important sbt commands

Installing IntelliJ

Download and install IntelliJ IDEA Community Edition

After starting IntelliJ IDEA use the Next:.. button on the Customize IntelliJ IDEA wizard to advance to Featured plugins Install Scala plugin

Here are some more hints on installing the plugin

Official Scala Docs on Getting Started:

docs.scala-lang.org