title: Java Mail not being found
body: <p>I am trying to use Java Mail to send emails with my program but whenever I compile on the command line I get this:</p>
  
  <pre><code>RevenueSummary.java:13: package java.mail does not exist
  import java.mail.*;
  </code></pre>
  
  <p>I have the mail.jar and activation.jar in my /Library/Java/Extensions folder so I'm not sure why it cannot find it.</p>
  
  <p>I've also tried changing my CLASSPATH with:
  export CLASSPATH=$CLASSPATH:/Library/Java/Extensions/mail.jar:/Library/Java/Extensions/activation.jar</p>
  
  <p>Please let me know how to fix this so I can finish. (Using Mac OS 10.6.4)</p>