Scala IDE (Eclipse) Run as Scala Application

eclipse, java, scala, scala-ide

Solution

- Right click on the scala object having main method

- Choose `Run As` -> `Run Configurations`

- Double click on `Scala Application` from `Run Configurations` window

- Type the Object Name in the `Main Class`: (for eg: if HelloWorld.scala is the object having main method, give it as HelloWorld)

Problem

I'm relatively new to the scala language (and programming in general). I recently installed the JDK and the Scala IDE (for eclipse). The setup went smoothly, but I encountered an issue upon trying to run a Hello World application. When I attempt to "Run As" the only available options are "Java Applet" and "Java Application". How do I proceed in trying to run as a "Scala Application"? Many thanks in advance!

Original source