java.lang.NoClass DefFoundError: while resolving class
posted 11 years ago
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.