• Post Reply Bookmark Topic Watch Topic
  • New Topic

Noclassdeffounderror javax/mail/address

 
Nagaseshagiri poola
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!