package javax.mail doesnot exist
2 posts in topic
Flat View  Flat View

Posted By:   sravya_s
Posted On:   Friday, May 23, 2008 04:52 AM

my classpath points to mail.jar and activation.jar. even then when in try to execute programs in demo folder(msgshow.java)i get errors stating package javax.mail doesnot exist....
please help me............

Re: package javax.mail doesnot exist

Posted By:   Robert_Lybarger  
Posted On:   Thursday, May 29, 2008 06:38 PM

If the JRE is telling you it can't find the javamail classes, then your classpath isn't setup the way you think it is. (Sidenote, using "java -jar" means neither the environment classpath nor the "-cp" arguments are used... if this applies to you.)

Re: package javax.mail doesnot exist

Posted By:   Anonymous  
Posted On:   Tuesday, May 27, 2008 04:00 AM

Try to place the path of the jar files in the "path" variable.

About | Sitemap | Contact