How to configure Eclipse IDE for Scala?

scala on eclipse




2 Languages i.e scala and java, same IDE ? Possible? We make it possible. No need to install plugin.

Prerequisites

  1. If you do not have JDK , you can install from here 
  2. If you do not have Eclipse IDE, you can install from here

Step 1: Go to Eclipse IDE -> Help -> Install New Softwares

Scala Eclipse

Step 2: Add Scala IDE update site
Write Name = Scala IDE and Location = http://download.scala-ide.org/sdk/lithium/e44/scala211/stable/site

Scala Eclipse

Step 3: Select Scala IDE for eclipse and go through next steps.

eclipse scala IDE

eclipse scala IDE



eclipse scala IDE

Step 4: Restart eclipse for the changes to take effect.

eclipse scala



Step 5: When eclipse restarted, you will see this dialog. If you get this message, that means you need to allocate more memory to Eclipse. Follow the instructions on screen for the same.Click Yes

eclipse scala

eclipse scala

You should be ready now to create your Scala projects in Eclipse.
Hello world programme for scala in eclipse



Leave a Reply

Your email address will not be published. Required fields are marked *