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

Posted By:   shalini_rao
Posted On:   Monday, June 8, 2009 01:42 AM

error:javax.mail package doesnot exist






hey please help me with this problem.when i compiled my code to send a mail using javamail i get this error javax.mail package does not exist




i've set my CLASSPATH to mail.jar nd also activation.jar.
i've even copied these jar files into ext folder of jre.but still i cudnt slove this problem.




i have j2SE i.e jdk 1.6 version nd jre 1.6.

javamail is 1.4.2 version.

Re: javax.mail package doesnot exist

Posted By:   jitesh_dundas  
Posted On:   Tuesday, July 21, 2009 07:08 AM

Hi,



Are you using apache tomcat engine. In such a case, you need to add both the
files to the commonlib folder of tomcat engine too.



Verify if the jar files have been added to the classpath. After that you have to
restart the machine to get the changes.



Hope this helps.



Regards,

Jitesh

Re: javax.mail package doesnot exist

Posted By:   Anonymous  
Posted On:   Tuesday, June 16, 2009 04:09 AM

try setting PATH variable to mail.jar and activation.jar
About | Sitemap | Contact