For SCALA we need JAVA to be installed.
After setting up Java
GO to http://www.scala-lang.org/downloads
Download the package which suites to your working environment.
If you download the zip file of source, Then, extract the zip file.
From command prompt go to the location of "bin" folder in scala folder which you extracted.
From command prompt type the command "scala" and press enter.
If scala installed properly, then we can see the message as "Welcome to Scala version x.x.x" and "SCALA" console opens.
From that console we can test the code samples.
To setup class path, add a System level "Path" variable to the downloaded "scala/bin" folder in both linux and windows environment.
If we set the path variable properly, we can run SCALA from any folder of the computer.After setting up Java
GO to http://www.scala-lang.org/downloads
Download the package which suites to your working environment.
If you download the zip file of source, Then, extract the zip file.
From command prompt go to the location of "bin" folder in scala folder which you extracted.
From command prompt type the command "scala" and press enter.
If scala installed properly, then we can see the message as "Welcome to Scala version x.x.x" and "SCALA" console opens.
From that console we can test the code samples.
To setup class path, add a System level "Path" variable to the downloaded "scala/bin" folder in both linux and windows environment.