Reputation: 101
i copy mail.jar and activation.jar in bin folder of jdk 1.7 but still error javax.mail does not exist
here is my code
import javax.mail.*;
import javax.mail.internet.*;
import javax.actiovation.*;
Upvotes: 3
Views: 10062
Reputation: 3349
You have to add jar to classpath (How do I add jar files to the Classpath?).
Hope that helps.
Upvotes: 2