This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes java.lang.NoClass DefFoundError: while resolving class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: java.lang.NoClass DefFoundError: while resolving class
 
Similar Threads
Classpath problem?
class not found exception
runtime error in jdbc
Classformat error while trying to access ORB.init
System.out.println("i -->"+i); This statement give runtime error on linux