> 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.
If you're using JDK 1.2, you don't have to set the CLASSPATH - it's
enough, if you put mail.jar in the jdk1.2/jre/lib/ext directory.
Note, that you will also need activation.jar (from the Java Activation
Framework available separately from Sun) to use JavaMail.
Cheers, Oliver
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]