Installing Scala on Windows
Here’s some simple guide for you to install Scala in Windows environment.
1.Make sure you have Java installed. Fire up a command line window and type “java -version”, if you have installed Java, you should be able to see the Java version message displayed.
2.Download Scala from http://www.scala-lang.org/downloads . The latest stable version is 2.7.5 as this post is written.
3.Unzip the file and put in, let’s say “c:\dev\scala”.
4.Add a new environment variable named “SCALA_HOME” and the value is “c:\dev\scala”.
5.In your “PATH” environment variable, append the following at the end of the line “%SCALA_HOME%\bin”.
6.Fire up another command line window and type “scala”. You should be able to see the following message.
Welcome to Scala version 2.7.5.final (Java HotSpot(TM) Client VM, Java 1.6.0_14). Type in expressions to have them evaluated. Type :help for more information. scala>
Type “:quit” to quit the Scala interactive shell and we are done.
Happy coding.












Recent Comments