eclipse & java 5

Darlene Wallach wallachd at earthlink.net
Wed Jan 25 23:40:23 UTC 2006


Hoffmann wrote:
> --- Andrew Overholt <overholt at redhat.com> wrote:
> 

>>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
> 
> 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
> 

There was a typo, correct "querformat" to "queryformat and
it works:

$ rpm -q --queryformat="%{name}-%{version}-%{release}.%{arch}" gcc 
gcc-java java-1.4.2-gcj-compat{,-devel} eclipse-platform
gcc-3.4.4-2.fc3.i386gcc-java-3.4.4-2.fc3.i386package 
java-1.4.2-gcj-compat is not installed
package java-1.4.2-gcj-compat-devel is not installed
package eclipse-platform is not installed

hth,

Darlene
-- 
World Centric Fair Trade & Eco Store
http://www.worldcentric.org/store/
We have created and live in a world of gross social
and economic inequalities[1] and are at the same
time severely impacting[2] the natural eco-systems
and regenerating bio-capacity of the planet. Our
every action has an impact on the well-being of our
planet and our everyday decisions[3] can help create
a better world for all. In keeping with this fact
and our vision, the World Centric Fair Trade/Eco
Online Store provides everyday consumption choices,
which can help minimize social & economic
inequalities, reduce the impact of our consumption
on the environment and help create a better and
sustainable world.

[1] http://www.worldcentric.org/stateworld/socialjustice.htm
[2] http://www.worldcentric.org/stateworld/environment.htm
[3] http://www.worldcentric.org/sustain/index.htm




More information about the users mailing list