Getting Started with Scala eclipse environment and the first getting Started classic program HelloWorld
IDE Select and download:
Scala for eclipse Download:
Http://scala-ide.org/download/sdk.html
Select the appropriate IDE according to your machine configuration:
Here I select the for scala2.11 version of the Windows-a-bit IDE, click Download.
Scala Installation:
installation package, enter the official website: http://www.scala-lang.org/
Go to download, select the Scala 2.11 version, click Download:
Install Scala 2.11 on Windows:
Click Run Scala installation package,
The next step is not to repeat here.
Examine the Scala installation environment:
Enter cmd mode: Enter Scala-version:
Appears to indicate that the installation was successful. Note: My environment is actually installed in the 2.11.0 version.
Unzip and start the IDE (ECLIPSE):
Add eclipse to the specified directory (choose Your own), go to the Eclipse directory, double-click Eclipse.exe, specify Workspace, open Eclipse, create a new Scala project,
:
Build a new Scala object:test Package:scala and create the Main method:
Test.scala object:
The first HelloWorld program:
Right-click on run--Scala application.
As shown in: Console display: helloworld!
Note: The JRE I chose here is version 1.7. The official website recommends that the JRE be 1.6 or 1.7, and refer to the first image content.
This is where the Scala learning environment is built.