Scala Environment Setup

Before installing scala you need to install java (1.5 or higher version) on your system.

Go for this in-depth job-oriented Apache Spark and Scala Training Course now!

Installation on Windows
Step 1: Verify the JDK installation on your machine. Open the shell/terminal and type java -version and javac -version
Step 2: Download Scala 2.11.7 binaries in the system from and then run the downloaded file

scala installation1

Step 3: Click on next button

scala installation2

Step 4: Select the check box

scala installation3

Step 5: If you want to change the location then select the folder where you want to install it otherwise click on next.

scala installation4

Step 6: Click on install button
scala installation5

Step 7:
scala installation6

Step 8: Click on finish button
scala installation7

Step 9: Set path
To include the scala directory to the path use the following command in windows:-
Right-click on My Computer ->Properties ->Advanced System setting ->Environment Variable ->Select Path->Edit
Then it will open a box in which you add the path where the java is installed by using ; (semicolon).

Get familiar with the top Scala and Apache Spark Interview Questions to get a head start in your career!

For Example:
If it contains ‘C:\Windows\System32′ then change your path by ‘C:\Windows\System32; C:\Program Files\scala\bin’.

To know more about scripting commands, visit our Linux online course.

 Step 10: Then type scala in command-line mode
scala installation8

Installation on Linux or on Mac
Scala installation on Linux, Ubuntu, Mac OS X or any Unix based system is the same.
Step 1: Verify the JDK installation on your machine. Open the shell/terminal and type java -version and javac –version
Step 2: Download Scala Binaries from and then unzip the scala-2.11.7.tgz file using the following command-

$ tar -xvzf scala-2.11.7.tgz

 Visit our Big Data Community to get answers to all your queries!

Step 3: After unzip, change the path to point to the directory using cd command. By default directory is download.

$ cd ~/Downloads
[[email protected] Downloads]$

 Are you interested in learning Scala from experts? Enroll in our Scala training in Bangalore now!

Step 4: At that time you are in the download folder where the scala binaries are present. Just go to the bin directory.

[[email protected] Downloads]$ cd scala-2.11.7
[[email protected] scala-2.11.7]$cd bin

Certification in Bigdata Analytics

Step 5: Then enter the scala shell as follows-

[[email protected] bin]$ ./scala
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Welcome to Scala version 2.11.7 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_20).
Type in expressions to have them evaluated.
Type :help for more information.

Want to get certified in Scala! Learn Scala from top Scala experts and excel in your career with Intellipaat’s Scala certification!

Set PATH for Scala
Use the following command for setting PATH for Scala.

$ export PATH = $PATH:/Downloads/scala/bin

Course Schedule

Name Date
Big Data Course 2022-12-10 2022-12-11
(Sat-Sun) Weekend batch
View Details
Big Data Course 2022-12-17 2022-12-18
(Sat-Sun) Weekend batch
View Details
Big Data Course 2022-12-24 2022-12-25
(Sat-Sun) Weekend batch
View Details

Leave a Reply

Your email address will not be published. Required fields are marked *