largecats' blog data engineer

Installing Scala on Windows

2019-07-31

I want to install Scala on my PC.

Preparation

I read Scala’s documentation.

Method

  1. Install Java as explained in this post.
  2. Install Scala (without sbt) from here.
  3. Create a system variable SCALA_HOME and set it to the path of the Scala installation.
  4. Add %SCALA_HOME%\jre\bin to path.
  5. Open cmd and type scala. The output should look something like this.
     C:\Users\steve-rogers>scala
     Welcome to Scala 2.13.0 (Java HotSpot(TM) Client VM, Java 1.8.0_221).
     Type in expressions for evaluation. Or try :help.
    
     scala>
    

Similar Posts

Content