Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.NoClass DefFoundError: while resolving class

 
mark vinthund
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
mark vinthund
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

thanks for the hint. it worked fine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic