title: Export Java Project with external libraries using Eclipse
body: <p>i'm trying to export my Java Project into a runnable JAR file with eclipse but if i want to run the finished JAR file I always get the error</p>
  
  <pre><code>Java Virtual Machine Launcher
  
  Could not find the main class: src.main. Program will exit.
  </code></pre>
  
  <p><code>src.main</code> is my main class, if i open the jar with winrar this class is in the folder src in the jar file.</p>
  
  <p>I export the Project like this:</p>
  
  <ul>
  <li>Right click on the Project name</li>
  <li>Export</li>
  <li>Runnable JAR file -> Next</li>
  <li>Launchconfig: my main class.</li>
  <li>destination: ...\Desktop\asdf.jar</li>
  <li>Library handling: Extract required libraries into generated JAR (I also tried all the others)</li>
  <li>Finish</li>
  <li>I get a Warning: "JAR export finished with warnings. .."</li>
  <li>OK</li>
  </ul>
  
  <p>The libraries are added like this:</p>
  
  <ul>
  <li>Right click on the Project name</li>
  <li>Properties</li>
  <li>Java Build Path</li>
  <li>Libraries</li>
  <li>Add External JARs</li>
  <li>And than all the libraries are together in one external folder.</li>
  </ul>
  
  <p>What am I doing wrong?</p>