Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java.lang.NoClassDefFoundError: javax/mail/Message

Status
Not open for further replies.

Smarty

Programmer
Apr 12, 2001
191
BE
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

 
The problem is solved. It was indeed a classpath issue...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top