aspose file tools*
The moose likes Beginning Java and the fly likes java.lang.NoClass DefFoundError: while resolving class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java.lang.NoClass DefFoundError: while resolving class" Watch "java.lang.NoClass DefFoundError: while resolving class" New topic
Author

java.lang.NoClass DefFoundError: while resolving class

mark vinthund
Greenhorn

Joined: Dec 16, 2004
Posts: 2
hello,

I downloaded a java game (http://freecol.sourceforge.net) and when I try to run it according to suggestions from game makers:

i get following response:


What can I do about it? My system is Fedora Core 3 and I have not even basic knowledge of java.

mark
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
I have not had any success with using gcj that comes installed with most Linux distributions (at least it is installed with Red Hat 8 on my machine). Personally, I would recommend that you download Sun's implementation from java.sun.com. You will need to modify your .bashrc (for bash) or similar file (for other shells) to add the directory for your Java installation to the PATH system variable. If you need help doing this, please come back with more questions.

Good luck!

Layne


Java API Documentation
The Java Tutorial
mark vinthund
Greenhorn

Joined: Dec 16, 2004
Posts: 2
hello,

thanks for the hint. it worked fine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.NoClass DefFoundError: while resolving class