Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception trying to compile and run JavaMail App

 
Michael K. Wilson
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JDK 1.5, JavaMail 1.4, and the Java Activation Framework (downloaded from Sun)...

Am trying to get this sample app to work and it keeps throwing an exception!





I have mail.jar and activation.jar in my CLASSPATH so I don't understand what the problem is...

-Mike
 
Michael K. Wilson
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Figured it out...

I am using MyEclipse for my development environment and for web enabled projects it contains a jar file called javaee.jar (which is bundled with mail.jar and activation.jar).

When I tried to use these particular jars, it didn't work... Resulting in me having to remove javaee.jar and manually place mail.jar and activation.jar on MyEclipse's build path.

-Mike
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic