NoClassDefFoundError after upgrade to FC3

Cortezzo, Jason Jason.Cortezzo at ssa.gov
Mon Nov 15 18:14:12 UTC 2004


Are you giving us the entire exception message?  It should tell you which
class it is looking for.  I think it usually prints right before the stack
trace.

A NoClassDefFoundError means either a .jar file is missing or your CLASSPATH
enviornment no longer contains the necessary file.

-Jason 

-----Original Message-----
From: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com]
On Behalf Of Cyrus Adkisson
Sent: Monday, November 15, 2004 1:10 PM
To: For users of Fedora Core releases
Subject: Re: NoClassDefFoundError after upgrade to FC3

Well, I uncovered one big clue. Whenever you upgrade to FC3, the system
attempts to install gcc-java (and does) which can screw up the workings of
your Sun java considerably. Among other things, FC3 installs a /usr/bin/java
script that points to the gcc-java code so when you type java -version it
gives you a bunch of gcc output. If you disable the /usr/bin/java script,
then it will revert back to the Sun java.

However, doing that did not fix my problem. Jdeveloper still gives the same
error I posted previously, as if it's searching for something in the
classpath. Eclipse does something similar. Can anyone help me understand
what I might need in the classpath for this to work again?

Cyrus

Cyrus Adkisson wrote:

> Hi everybody. I use jDeveloper from Oracle to program, create GUIs and 
> manage my various projects. It's not open-source, but it's a very good 
> program. I have been using it without errors for at least a year.
> Then, when I upgraded to Fedora Core 3, it was the only thing on my 
> computer that stopped working. When I click on the icon on my desktop, 
> nothing pops up, and top shows a massive load on the CPU for "jdev".
> When I run it in a terminal window, I get the following error:
>
> java.lang.NoClassDefFoundError
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:141)
>        at oracle.ide.IdeCore.class$(IdeCore.java:89)
>        at oracle.ide.IdeCore.startupImpl(IdeCore.java:775)
>        at oracle.ide.Ide.startup(Ide.java:539)
>        at oracle.jdeveloper.JDeveloper.launch(JDeveloper.java:58)
>        at oracle.jdeveloper.JDeveloper.main(JDeveloper.java:37)
>
> I've got the same java SDK I had before, and the configuration files 
> are pointing to it. Can anybody think of why an upgrade to Fedora Core
> 3 would be causing this error?
>
> Thanks,
> Cyrus
>


--
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list




More information about the users mailing list