title: Eclipse Error: Could not find or load main class
body: <p>Have Googled extensively on this error, but I can't seem to fix the problem. I've written a basic java program in Eclipse Juno, as follows:</p>
  
  <pre><code>public class HelloWorld {
  
      /**
       * @param args
       */
  
      public static void main(String[] args) {
          System.out.println("Hello Eclipse!");
      }
  
  }
  </code></pre>
  
  <p>After clicking Run, I get: "Error: Could not find or load main class HelloWorld". This error message applies to all my other projects in the same workspace. I've tried switching workspaces but the error still appears.</p>
  
  <p>I'm on Windows 7 64-bit. Any help would be appreciated!</p>