Installing

I’ll assume you’ve downloaded the binary distribution of Scala and also have verified your Java installation. The installation steps vary depending on the platform you’re on—refer to the relevant section.

Installing Scala on Windows

On Windows, the msi package nicely walks us through the installation steps; follow along with the instructions as they appear during installation. Choose the appropriate location to place the Scala binaries. If you have no particular location preference I suggest placing the distribution under C:\programs\scala directory. Choose a directory name with no whitespace in it, since path names with whitespace often cause trouble.

Let’s make sure the setup went as expected. Close any open command-line windows ...

Get Pragmatic Scala now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.