How to Install Scala, SBT and Java on Ubuntu 18.04 LTS Linux




In this Post we will see  How to Install Scala, SBT and Java on Ubuntu 18.04  LTS (Linux)

Install Java

Step 1 – Add the PPA

Step 2 – Update and install the installer script

Step 3 – Set Java environment variables and Oracle JDK8 as default

Step 4 – Check Java compiler version

Step 5 – Set environment

Install Scala 2.11.8

Check Scala version

Install SBT (Scala Build tool)

SBT (Scala Build Tool, formerly Simple Build Tool) is an open source build tool for Scala and Java projects, similar to Java’s Maven and Ant. SBT is a modern build tool. While it is written in Scala and provides many Scala conveniences, it is a general purpose build tool. sbt is the de facto build tool in the Scala.



Apache Spark and Scala Certification Training

How to Install Scala and SBT on Ubuntu 18.04