Hi.
I am new to Mac (to this forum too) and I am having some problem while developing in java.
I have to use the javax.mail classes in my class. I downloaded the JavaMail API and tried to install, apparently with no success.
When I import the jar in my project (import javax.mail), java can't resolve the name.
I think the problem is how I am installing the JavaMail API. I followed the readme and set the classpath in this way:
export CLASSPATH=$CLASSPATH:/System/Library/Java/javamail-1.4.2/mail.jar
export CLASSPATH=$CLASSPATH:/System/Library/Java/jaf-1.1.1/activation.jar
Still I can't import this jar in my project.
I know I'm doing something wrong but I can't tell what. Any help will be appreciated. Thanks.
Daniz
I am new to Mac (to this forum too) and I am having some problem while developing in java.
I have to use the javax.mail classes in my class. I downloaded the JavaMail API and tried to install, apparently with no success.
When I import the jar in my project (import javax.mail), java can't resolve the name.
I think the problem is how I am installing the JavaMail API. I followed the readme and set the classpath in this way:
export CLASSPATH=$CLASSPATH:/System/Library/Java/javamail-1.4.2/mail.jar
export CLASSPATH=$CLASSPATH:/System/Library/Java/jaf-1.1.1/activation.jar
Still I can't import this jar in my project.
I know I'm doing something wrong but I can't tell what. Any help will be appreciated. Thanks.
Daniz