Scala detailed---------installation configuration issues

Source: Internet
Author: User
Tags scala ide

Win7 installing Scala 2.11

1. Download Scala 2.11
http://download.csdn.net/download/u014393736/7107595

I really download the Scala installation files, in fact, is a compressed package, just need to extract the files can be!
You can also download the MSI suffix file on the website to install it.

The installation process is as follows:

The advantage of downloading the MSI version is that the environment variable is automatically configured, otherwise you need to manually set up two environment variables.
Scala_home environment variable, which points to the installation directory of Scala.
Path environment variable, to contain the value of%scala_home%\bin.

2. Install Scala 2.9.2
After the download is complete, execute the Scala-2.9.2.msi and follow the prompts to install it step-by-step. I installed it here in C:\scala.

3. Verification
Press the Windows Key +r key, enter cmd and enter Windowscmd command line mode after entering.
Type the command:


Scala

Scala-version


Both of these commands can be

an explicit result is as follows:

This means that Scala is installed and working properly!

Program test:


Basic Normal


4. Installing Scala in the Eclipse IDE
Scala officially offers three plugins that support the eclipse, NetBeans, and IntelliJ idea development environments, respectively. To install the Scala plugin under the Eclipse IDE:
Select the Eclipse menu item Help-->install New Software ..., click the "Add button" and fill in the following values in name and location, respectively:
Name:scalaide
Location:http://download.scala-ide.org/releases-29/stable/site
then step through the installation step by step until the installation is complete.
to restart Eclipse, you can see the new menu and windows-->preferences have Scala options.



5. Precautions
Note that, officially, the Scala IDE plugin currently only supports Eclipse 3.6 and 3.7 and does not support the latest Eclipse 4.2. After the author tests, it is true that the Scala IDE plugin cannot be installed in Eclipse 4.2.
In addition, Scala officially wants to adjust the heap memory of the eclipse runtime to more than 1024M. :


The above part of the content for reference in http://blog.csdn.net/chszs/article/details/7979610


Copyright NOTICE: Welcome reprint, Hope in your reprint at the same time, add the original address, thank you with

Scala detailed---------installation configuration issues

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.