title: Eclipse returns error on run: "java selection does not contain a main type"
body: <p>I am unable to run the following code in Eclipse (Eclipse IDE for Java Developers, Version: Indigo Service Release 1, Build id: 20110916-0149), and I think that I may have a configuration problem in Eclipse (but I do not know what or where):</p>
  
  <pre><code>class Saluton {
      public static void main(String args[])
      {
          String greeting = "Saluton mondo!";
          System.out.println(greeting);
      }
  }
  </code></pre>
  
  <p>I am also running against Java 6 (1.6.0_29-b11-402) on Macintosh 10.7.2.</p>
  
  <p>When I run this, I get the error: </p>
  
  <blockquote>
    <p>"java selection does not contain a main type"</p>
  </blockquote>
  
  <p>but I am pretty sure that my class is written correctly...? I have looked this error up, and cannot explain this problem so far.</p>
  
  <p>TIA for any thoughts or opinions!</p>