title: java.lang.NoClassDefFoundError: javax/mail/Address error
body: <p>I have my project with the <code>mail.jar</code> in the <code>lib</code> folder. I created a manifest file as </p>
  
  <pre><code>Manifest-Version: 1.0
  Main-Class: mainfile
  Class-Path: lib/mail.jar
  </code></pre>
  
  <p>I then exported the <code>jar</code> file using eclipse.</p>
  
  <p>I tried executing the jar file now as <code>java -jar myjar.jar</code> and I get the error </p>
  
  <pre><code>java.lang.NoClassDefFoundError: javax/mail/Address
  </code></pre>
  
  <p>Any pointers would be greatly appreciated</p>