Re: NoClassDefFoundError after upgrade to FC3

From: Cyrus Adkisson (cadkisson_at_rooseveltmedia.com)
Date: 11/15/04

  • Next message: Timothy Murphy: "Re: Yum problem after update on FC-3"
    Date: Mon, 15 Nov 2004 13:22:14 -0500
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Thanks for the reply. That's the whole error as far as jdev is
    concerned. When I try to run eclipse I get the following error, which
    may or may not be related:

    java.lang.UnsatisfiedLinkError:
    /usr/local/eclipse/plugins/org.eclipse.swt.gtk64_3.0.1/os/linux/amd64/libswt-pi-gtk-3063.so:
    /usr/local/eclipse/plugins/org.eclipse.swt.gtk64_3.0.1/os/linux/amd64/libswt-pi-gtk-3063.so:
    cannot open shared object file: No such file or directory
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1495)
            at java.lang.Runtime.loadLibrary0(Runtime.java:788)
            at java.lang.System.loadLibrary(System.java:834)
            at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
            at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
            at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
            at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
            at org.eclipse.swt.widgets.Display.<clinit>(Display.java:118)
            at
    org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:268)
            at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:153)
            at
    org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:122)
            at
    org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:72)
            at
    org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
            at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
            at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
            at org.eclipse.core.launcher.Main.run(Main.java:704)
            at org.eclipse.core.launcher.Main.main(Main.java:688)

    Also, I just upgraded my java rpm (and set JAVA_HOME to the new
    location), so I know all the files are there. It must be a jar file that
    isn't in the classpath. What jar files would normally be in the CLASSPATH?

    Cyrus

    Cortezzo, Jason wrote:

    >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@redhat.com [mailto:fedora-list-bounces@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@redhat.com
    >To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    >
    >
    >

    -- 
    __________________
    Cyrus Adkisson
    RooseveltMedia.com
    1833 New Hampshire Avenue NW
    Washington, DC 20009
    (202)465-4359
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Timothy Murphy: "Re: Yum problem after update on FC-3"

    Relevant Pages

    • Re: Will FC4 test 1 version up when FC4 goes gold
      ... "server" you called it in your previous posting. ... Although an upgrade with yum should do. ... To which Alexander need not reply. ... you want to upgrade a running Fedora Core _server_ ...
      (Fedora)
    • Re: Ians critrics on my former reply (was: top posting, HTML posting and "the closer")
      ... server - attention: you said server yourself, ... after which you then want to pain free upgrade to Fedora Core 4 ... My reply wasn't hostile in that sense! ...
      (Fedora)
    • Grub issues on FC6 upgrade.
      ... I just upgraded my Fedora Core 5 to FC6. ... The upgrade appeared to work ... But then when it boots, all I get is a screen that says: ... I tried reinstalling FC6 and instead of selecting "modify existing MBR" ...
      (comp.os.linux.misc)
    • Re: upgrade from 9.0 to Core 4 or 5
      ... running either Fedora core 4 or 5. ... What sort of gyrations do I have to go through to upgrade the ... You should do a clean install of FC4 or FC5, don't try to do a upgrade. ... the install to a different partition then you can copy any configuration ...
      (linux.redhat)
    • Persistent CLASSPATH
      ... I'm on Fedora Core 4 OS... ... If I close the terminal window and ... echo $CLASSPATH results in no CLASSPATH ... The command env shows that there is no ...
      (Fedora)