Apache Spark Scala command using IDE, Welcome to the world of Scala Commands IDE tutorials used for spark developers. In these Tutorials, one can explore how to install and set up scala application in IDE(Eclipse). Learn More advanced Tutorials on How to run scala application in IDE by taking exampleS from India’s Leading Apache spark training institute which Provides advanced Apache spark course for those tech enthusiasts who wanted to explore the technology from scratch to advanced level like a Pro.
We Prwatech the Pioneers of Apache Spark training offering advanced certification course and Installation of Scala Programming Language to those who are keen to explore the technology under the World-class Training Environment.
http://scala-ide.org/download/sdk.html
Note:- make sure in your system Java 8 be install
Create a new Scala project in Eclipse IDE
From the File menu, select New -> select Scala project and provide the project a name and then select Finish to create the project.
Create a new Scala Object using File -> New -> Scala Object :
Provide a name for your Scala application and click Finish to create the file.
Add the following code in HelloWorld.scala
object HelloWorld {
def main(args: Array[String]): Unit = {
println(“Hello, world!”)
}
}
Click on Run button or Run menu to run this as a Scala application
Right Click on that & Run As →Scala Application
NOTE: Set the Run configuration if needed.