title: Creating a .JAR file fails
body: <p>I'm using Eclipse, and I have a pretty simple project, I'll save you the code. It executes just fine and runs just fine. It has two .java files, in fact, the project tree is like this:</p>
  
  <pre><code>**mewLog**  
   - src/ (dir)   
     mewlog/ (package)  
      - MLGlobal.java  
      - MLMain.java (surprise, this one contains main and some initialization methods)    
     mlGUI/ (package)  
       - this one is empty (empty package!)  
  </code></pre>
  
  <p>So, I go to File -> Export. I follow the steps as per usual and it makes my .JAR file just fine without any warnings or issues. Good!</p>
  
  <p>So far so good one would say, so I rush up to my Terminal, navigate to the folder I exported my jar in, and execute it as follows: </p>
  
  <pre><code>java -jar mewLog_macosx-x86.jar
  </code></pre>
  
  <p>BAM! Here it goes wrong, the terminal gives me the following output:</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: MLMain
  Caused by: java.lang.ClassNotFoundException: MLMain
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
  </code></pre>
  
  <p>Ok. Before you say "Oh hurr durr you gotta add a class path". I tried, it doesn't work, just gives me "BLAH" no matter what I do.</p>
  
  <p>I'm using Mac OS X Snow Leopard.</p>
  
  <p>Output from <code>jar -tf mewLog_MacOSX-x86.jar</code></p>
  
  <pre><code>jar -tf mewLog_MacOSX-x86.jar  
  META-INF/MANIFEST.MF  
  .project  
  .classpath  
  mewlog/MLGlobal.class  
  mewlog/MLMain.class
  </code></pre>