Install the Scala2.10.4 plugin under eclipse

Source: Internet
Author: User
Tags scala ide

Spark compiles are currently based on Scala 2.10.4, and the Scala plugin version is also selected for 2.10.4, otherwise eclipse will report a bug that Spark's jar package and Scala version are incompatible.

Scala IDE for eclipse different versions of Eclipse corresponding plug-ins are also different

: http://scala-ide.org/download/prev-stable.html

Eclipse 3.8-4.3 (Juno and Kepler) for Scala 2.11.2http://download.scala-ide.org/sdk/helium/e38/scala211/stable/ SiteFor Scala 2.10.4http://download.scala-ide.org/sdk/helium/e38/scala210/stable/site

Select Eclipse4.2 Juno for plug-in installation

Select Help->install new software in eclipse

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6E/1D/wKiom1V0D_6z7IKxAAGtudDLi8U270.jpg "title=" Blog.jpg "alt=" Wkiom1v0d_6z7ikxaagtuddli8u270.jpg "/>

Add plugin download link after installation, you will be prompted to restart Eclipse

Create a new Scala Project project test to make it work correctly and load the relevant libray for Scala 2.10.4 in addition to loading the JRE Library in Project engineering

Object TESTD {def main (args:array[string]): Unit = {val array = array ("Scala 2.10.4", "Spark 1.1.0") Array.fore Ach (println)}}

Run as a Java program, which is compiled into a class file that runs in the JVM

Scala 2.10.4spark 1.1.0


This article from the "Down-to-earth, look at the Stars" blog, please be sure to keep this source http://xubcing.blog.51cto.com/3502962/1659428

Install the Scala2.10.4 plugin under Eclipse

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.