title: Java- Error: Could not find or load main class
body: <p>I am using Eclipse latest version and I am facing the error "Could not find or load main class" every time I run this simple code as a 'Java application'. I am new so don't know much about Java. i am looking forward to some help and please specify in detail.
  <a href="http://i.stack.imgur.com/m8MLT.jpg" rel="nofollow">screenshot of run configurations window</a>
  <a href="http://i.stack.imgur.com/xdsaf.png" rel="nofollow">screenshot of Buildpath config. window</a></p>
  
  <pre><code>   class apples{
          public static void main(String[] args) {
          System.out.println("Hello, World");
            }
          }
  </code></pre>