NoClassDefFoundError after upgrade to FC3
Cyrus Adkisson
cadkisson at rooseveltmedia.com
Mon Nov 15 18:10:15 UTC 2004
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
>
More information about the fedora-list
mailing list