eclipse & java 5

Weiqi Gao weiqigao at gmail.com
Wed Jan 25 23:18:34 UTC 2006


I'm not Andrew.  But I'm curious about the version of the Sun JDK you
are using.  I have not installed the Sun JDK on my new FC4 on AMD64
box for fear that it might mess up the Java stuff from FC4.

Are you running the i586 version or the amd64 version of the Sun JDK?

--
Weiqi Gao

On 1/25/06, Hoffmann <oasf2004 at yahoo.com> wrote:
> --- Andrew Overholt <overholt at redhat.com> wrote:
>
> > * Hoffmann <oasf2004 at yahoo.com> [2006-01-24 11:12]:
> > >
> > > In my case, even as root I get the same error you
> > got
> > > in ./workspace/.metadata/.log.
> >
> > If you're having the (what we suspect is a) prelink
> > issue described at [1],
> > you can get around the main sympton by creating a
> > symlink in /usr/bin to
> > /usr/share/eclipse/eclipse .  The startup.jar
> > symlink isn't necessary.
> >
> > If you are having other issues, try temporarily
> > moving ~/.eclipse out of
> > the way.  Also, we will need more information
> > (preferably at [1]) if we are
> > to go further.  Post the output of the following at
> > that bug:
> >
> > uname -a
> > which java
> > java -version
> > rpm -q
> > --querformat="%{name}-%{version}-%{release}.%{arch}"
> > gcc \
> >   gcc-java java-1.4.2-gcj-compat{,-devel}
> > eclipse-platform
> >
> > > I think this Eclipse-Fedora problem became a kind
> > of
> > > "soup opera". That is ridiculous!
> >
> > Haha :) .
> >
> > Andrew
> >
> > [1]
> >
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=177210
> >
> > --
> > fedora-list mailing list
> > fedora-list at redhat.com
> > To unsubscribe:
> > https://www.redhat.com/mailman/listinfo/fedora-list
> >
>
> Hello Andrew,
>
> Please, see below my answers (to your 6 questions)
> followed by the arrows (-->):
>
> (1) When I try to run eclipse, I get the following
> error:
> --> An error has occurred. See the log file
> /home/hoffmann/workspace/.metadata/.log.
>
> See what I see into that file below:
>
> !SESSION 2006-01-25 15:45:06.11
> ------------------------------------------------
> eclipse.buildId=M20050929-0840
> java.version=1.5.0_06
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk,
> NL=en_US
> Command-line arguments:  -os linux -ws gtk -arch
> x86_64
>
> !ENTRY org.eclipse.osgi 2006-01-25 15:45:09.215
> !MESSAGE Application error
> !STACK 1
> java.lang.UnsatisfiedLinkError:
> /home/hoffmann/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/9/1/.cp/libswt-pi-gtk-3139.so:
> /home/hoffmann/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/9/1/.cp/libswt-pi-gtk-3139.so:
> cannot open shared object file: No such file or
> directory
>         at java.lang.ClassLoader$NativeLibrary.load(Native
> Method)
>         at java.lang.ClassLoader.loadLibrary0(Unknown Source)
>         at java.lang.ClassLoader.loadLibrary(Unknown Source)
>         at java.lang.Runtime.loadLibrary0(Unknown Source)
>         at java.lang.System.loadLibrary(Unknown Source)
>         at
> org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
>         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:122)
>         at
> org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:381)
>         at
> org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155)
>         at
> org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:128)
>         at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:79)
>         at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
>         at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
>         at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
>         at
> org.eclipse.core.launcher.Main.basicRun(Main.java:278)
>         at org.eclipse.core.launcher.Main.run(Main.java:973)
>         at org.eclipse.core.launcher.Main.main(Main.java:948)
>
> !ENTRY org.eclipse.osgi 2006-01-25 15:45:09.236
> !MESSAGE Bundle
> update at plugins/org.eclipse.ant.ui_3.1.1.jar [12] was
> not resolved.
> !SUBENTRY 1 org.eclipse.osgi 2006-01-25 15:45:09.236
> !MESSAGE Missing required bundle
> org.eclipse.jdt.ui_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2006-01-25 15:45:09.236
> !MESSAGE Missing required bundle
> org.eclipse.jdt.debug.ui_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2006-01-25 15:45:09.237
> !MESSAGE Missing required bundle
> org.eclipse.jdt.launching_0.0.0.
>
> (2) uname -a
> --> Linux localhost.localdomain 2.6.14-1.1656_FC4smp
> #1 SMP Thu Jan 5 22:26:33 EST 2006 x86_64 x86_64
> x86_64 GNU/Linux
>
> (3) which java
> --> /opt/jre1.5.0_06/bin/java
>
> (4) java -version
> --> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition
> (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed
> mode, sharing)
>
> (5) rpm -q
> --querformat="%{name}-%{version}-%{release}.%{arch}"
> gcc \
>    gcc-java java-1.4.2-gcj-compat{,-devel}
> eclipse-platform
> -->
> --querformat=%{name}-%{version}-%{release}.%{arch}:
> unknown option
>
> Can I hear from you again?
>
> Thanks!
> Hoffmann
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>


--
Weiqi Gao (高为奇)
weiqigao at gmail.com
http://www.weiqigao.com/blog/




More information about the fedora-list mailing list