title: Simple "Hello World" Java program not working in Eclipse
body: <p>I opened Eclipse, named the project "firstProject" and then made a class called <code>Apples</code>. This is the code:</p>
  
  <pre><code>public class Apples {
     public static void main(String args[])
     {
         System.out.println("Hello World!");
     }
  }
  </code></pre>
  
  <p>I've got this error message:</p>
  
  <blockquote>
    <p>Exception in thread "main" java.lang.Error: Unresolved compilation problem: at firstProjject.Apples.main(Apples.java:2)</p>
  </blockquote>
  
  <p>What is the problem?</p>