Scala Ide Ubuntu

Install Netbeans and Scala on Ubuntu March 17, 2013 If you want to install and run the latest version of Scala and/or Netbeans then you cannot simply install it from your distributions repositories or pre-built packages. Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question.Provide details and share your research! Asking for help, clarification,. 1) Install IntelliJ using Ubuntu Software Center. This is the most recommended way of installing the IntelliJ IDE on Ubuntu. It's simple and fast. All you need to do is to launch Ubuntu Software Center and search for IntelliJ IDE as shown below. As expected, the three editions will be listed. Select your preferred edition by clicking on it.

IdeUbuntu
This tutorial will explain how to create a Spark project in Scala with Scala IDE and Maven and how to run a sample code.

Download the Scala IDE

  • Download Scala IDE from link — http://scala-ide.org/download/sdk.html
  • Save it in your local drive and unzip it. Then double click on the eclipse icon to start the scala ide .
Scala

Create Maven Project

Scala Ide For Eclipse Ubuntu

Once the Scala IDE is opened then start creating first maven project. To create first project , please follow below steps.

  1. Click on File -> New -> Other
  2. Then search for Maven and select Maven project
  3. Check option — Create a simple project(skip archetype selection) and click on next
  4. Provide Group id i.e SparkTutorial and Artifact id i.e SparkTutorial
  5. Expand the project and open the pom.xml File and add the below content.

Once the project is updated add the scala nature to the project.

Ubuntu Scala Install

  • Right click on src/main/scala and create package with package name=com.spark.scala
  • Right Click on the project -> Configure -> Add Scala Nature
  • Right click on package(com.spark.scala) and create a scala object i.e createRDD and copy the below code.
Ubuntu scala sbt

Right click on the code -> Run As ->Scala Application

Scala Ide Download For Ubuntu

I hope this will help you. Please feel free to comment suggestion to improve it.