title: Could not find the main class x. Program will Exit
body: <p>I explore other threads on stackoverflow, I explore the web but couldn't find the solution...
  so I am posting it here with full "hello world" example.
  I am using Eclipse 3.6/jdk 1.6 I write a one class using swt and want to export it as runnable file.</p>
  
  <p>Here is how I am trying to do it:</p>
  
  <p>File->Export->Java->Jar ...in the following dialogs I select to create new  manifest and select my mainc class for entry point, export it and run it but get this error:</p>
  
  <blockquote>
    <p>Could not find the main class co.My. Program will Exit</p>
  </blockquote>
  
  <p>Here is my Manifest.mf file, with two empty lines at the end:</p>
  
  <blockquote>
    <p>Manifest-Version: 1.0 <br />
      Main-Class: co.My <br/>
      <br/></p>
  </blockquote>
  
  <p>In class I have method:</p>
  
  <pre><code>public static void main(String args[])
  </code></pre>
  
  <p>And here is download link for whole "hello world" project.
  <a href="http://www.mediafire.com/?wl6mixmpatpglwh" rel="nofollow">http://www.mediafire.com/?wl6mixmpatpglwh</a></p>