You can either install Oracle Java or OpenJDK (the Open Source implementation of Oracle Java)
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installerbrew update
brew tap caskroom/cask
brew install Caskroom/cask/javaFollow the instructions here and then set the JAVA_HOME environment variable
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdkInstructions on building OpenJDK
Follow the installation instructions here.
wget www.scala-lang.org/files/archive/scala-2.11.8.deb
sudo dpkg -i scala-2.11.8.deb brew update
brew install scala- Download .msi installer file from Scala Downloads page
- Install Scala by double clicking .msi installer
- This will install Scala on
C:\Program Files (x86)\scalaOrC:\Program Files\scalapath - Go to My
Comupter > Properties > Advance System Settings > Environment Variables - Create SCALA_HOME variable with the path where Scala is extracted
- In our case it will be
C:\Program Files\scala - Update/Create PATH variable and append
;%SCALA_HOME%/bin;to the value
Sbt is the interactive build tool for Scala projects, used to manage dependencies and tasks in projects.
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install sbtbrew install sbt OR
port install sbtDownload and install the msi installer.