While executing my class, I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/Message
I thought that this would mean that the class was not in my classpath, but I compiled with:
javac User.java -classpath c:\classpath
and the file c:\classpath\javax\mail\Message.class exists.
Any1 knows why this program won't run?
Greetz,
(not so) Smarty
Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/Message
I thought that this would mean that the class was not in my classpath, but I compiled with:
javac User.java -classpath c:\classpath
and the file c:\classpath\javax\mail\Message.class exists.
Any1 knows why this program won't run?
Greetz,
(not so) Smarty