readthefuckingmanual.net

[SOLVED] package javax.mail.internet does not exist

Error added: 2007-07-24T15:58:12Z

1 people waiting for the answer...

4 answers found.

Answer 347 (60.0% helpful)

CLASSPATH must point at mail.jar, not just the directory containing it.
Permalink

Answer 1133 (40.0% helpful)

The above answer works correctly. Just point the mail.jar location from classpath...
Permalink

Answer 1626 (33.333332% helpful)

if you use eclipse then you must definitely include mail.jar in your build.xml even if you add it in your build path,
then all be OK=)
Permalink

Answer 1546 (0.0% helpful)

apply the answer 1. If you are compiling your java pgm in the command prompt then once you set the classpath then exit the command prompt then compile it definitely works.
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: