• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Exception trying to compile and run JavaMail App

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic