Scala details --------- installation and configuration problems, scala ---------

Source: Internet
Author: User
Tags scala ide

Scala details --------- installation and configuration problems, scala ---------
Install Scala 2.11 In Win7

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

The Scala Installation File I downloaded is actually a compressed package. You only need to decompress the file!
Of course, you can also download the msi suffix file on the official website for installation.

The installation process is as follows:

The benefit of downloading the msi version is that the environment variables are automatically configured. Otherwise, you need to manually set two environment variables.
The SCALA_HOME environment variable points to the Scala installation directory.
PATH environment variable, which must 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 step by step. I installed it in C: \ scala.

3. Verify
Press Windows key + R key, Enter CMD, and press enter to enter WindowsCMD command line mode.
Type the following command:


Scala

Scala-version


Both commands can

The explicit result is as follows:

Scala installation and operation are normal!

Program test:


Basically normal


4. Install Scala in Eclipse IDE
Scala officially provides three plug-ins that support the Eclipse, NetBeans, and Intellij IDEA development environments. To install the Scala plug-in Eclipse IDE:
Select the menu item Help --> Install New Software... of Eclipse, click "Add", and fill in the following values in Name and Location:
Name: ScalaIDE
Location: http://download.scala-ide.org/releases-29/stable/site
Step by step until the installation is complete.
Restart Eclipse and you can see that the New menu and Windows --> Preferences have Scala options.



5. Notes
Note that the Scala IDE plug-in currently only supports Eclipse 3.6 and 3.7, and does not support the latest Eclipse 4.2. After my tests, it is true that Scala IDE plug-in cannot be installed in Eclipse 4.2.
In addition, Scala officially hopes to adjust the heap memory during Eclipse runtime to more than MB. :


The above part draws on the http://blog.csdn.net/chszs/article/details/7979610


Copyright Disclaimer: you are welcome to reprint it. I hope you can add the original article address while reprinting it. Thank you for your cooperation.

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.