> John Louis wrote:
> 
> Hi,
>   I download javamail API, and copy mail.jar to jdk1.2/lib directory.
> I add the CLASSPATH in my
> .bash_profile :
>     CLASSPATH=/jdk1.2/lib/mail.jar
> 
> After that, I compile the demo file, and it give me error : Package
> javax.mail not found in import
> I'm not sure how to set the classpath.
> 
>    Please tell me how to  do that.  Thanks

Move the jarfile into jdk1.2/jre/lib/ext/ . You don't need to add it to
your CLASSPATH; it will be automatically found in that directory.


Nathan


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to