File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Classpath problem?
Classformat error while trying to access ORB.init
class not found exception
runtime error in jdbc
System.out.println("i -->"+i); This statement give runtime error on linux