aspose file tools
The moose likes Other JSE/JEE APIs and the fly likes Noclassdeffounderror javax/mail/address Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "Noclassdeffounderror javax/mail/address" Watch "Noclassdeffounderror javax/mail/address" New topic
Author

Noclassdeffounderror javax/mail/address

Nagaseshagiri poola
Greenhorn

Joined: Oct 18, 2003
Posts: 25
Hi,
I have created a project in eclipse2.1 and has implemented the JAVA Mailing program to send emails and iam able to send the emails when i run my application using eclipse2.1 and now the same application am running using the command line and i get the following error
Noclassdeffounderror: javax/mail/address
my path looks like this
F:\eclipse\workspace\TKS_Poola\libs\activation.jar;
F:\eclipse\workspace\TKS_Poola\libs\mail.jar
so
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8265

Sounds like you need to set up your classpath. Find the mail.jar file you downloaded when you installed the JavaMail API and consult the JavaRanch FAQ for directions on How To Set The Classpath


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Noclassdeffounderror javax/mail/address
 
Similar Threads
NoClassDefFoundError
NoClassDefFoundError
NoClassDefFoundError
NoClassDefFoundError
NoClassDefFoundError