title: Run configuration issue when running Scala in Eclipse for the first time
body: <p>I am trying to run a scala project for the first time in eclipse. I have selected "Scala" in perspective. I am having trouble with configuring my run for scala.</p>
  
  <p>My project name is <code>scala_try</code> and in the project folder I have:
  <code>src</code> -> <code>scala_try</code> -> <code>Demo.scala</code></p>
  
  <p>When I right-click on <code>Demo.scala</code> and try to run it, I have:
  <code>Run As -&gt; Run Configurations...</code></p>
  
  <p>How do I configure my run for scala here?</p>
  
  <p>I tried: <code>Scala-Application -&gt; New_configuration</code> but when I search for Main Class, there is nothing matched. </p>
  
  <p>If I just go on and write <code>Demo</code> as Main class, after running I get this error:</p>
  
  <pre><code>Error: Could not find or load main class Main
  Caused by: java.lang.ClassNotFoundException: Main
  </code></pre>
  
  <p>my code in <code>Demo.scala</code>:</p>
  
  <pre><code>package scala_try
  
  object Demo extends App{
  def main(args: Array[String]) {
    print("Hola!");
   }
  }
  </code></pre>
  
  <p>Any sort of help would be highly appreciated. Thanks in advance!</p>