dcsimg
package javax.mail does not exist
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kathryn_Lee
Posted On:   Thursday, June 19, 2003 06:02 AM

I have downloaded java mail API 1.3. I have j2sdk1.4 and I
put mail.jar in j2sdk1.4.0lib folder.
I also set the CLASSPATH in this line:
set PATH=%PATH%;c:j2sdk1.4.0libmail.jar;

Why I alway getting this error:

package javax.mail does not exist

import javax.mail.*;

Re: package javax.mail does not exist

Posted By:   Simon_Ablett  
Posted On:   Thursday, June 19, 2003 06:34 AM

Erm, you seem to be adding the jar file to your PATH rather than to the CLASSPATH.

Regards.
About | Sitemap | Contact