Getting Started with Scala eclipse environment and the first getting Started classic program HelloWorld

Source: Internet
Author: User

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.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.