View previous topic :: View next topic |
Author |
Message |
flosit n00b
Joined: 01 Nov 2005 Posts: 6
|
Posted: Tue Nov 01, 2005 4:47 pm Post subject: eclipse does not start [solved] |
|
|
hello at all
i got everything running under gentoo but eclipse
i tried nearly everything: different java-vms, different versions of eclipse, different versions of swt, etc. but nothing worked.
always the same error.
after reading other posts i guess that it has something to do with gtk, but i can't figure out what to do.
here is my error-log, i hope somebody has an idea:
Code: |
!SESSION Nov 01, 2005 17:45:35.232 ---------------------------------------------
eclipse.buildId=I200406251208
java.version=1.4.1
java.vendor=Blackdown Java-Linux Team
BootLoader constants: OS=linux, ARCH=amd64, WS=gtk, NL=en_US
!ENTRY org.eclipse.osgi Nov 01, 2005 17:45:35.233
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /opt/eclipse/eclipse_3.0/plugins/org.eclipse.swt.gtk64_3.0.0/os/linux/amd64/libswt-pi-gtk-3062.so: /opt/eclipse/eclipse_3.0/plugins/org.eclipse.swt.gtk64_3.0.0/os/linux/amd64/libswt-pi-gtk-3062.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:1473)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1381)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
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:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
|
i don't know what to do any more.
please help me
PS: i'm running gentoo on an amd64 3200 with kde 3.4
Last edited by flosit on Wed Nov 09, 2005 6:10 pm; edited 1 time in total |
|
Back to top |
|
|
piercey Apprentice
Joined: 28 Jan 2005 Posts: 182
|
Posted: Tue Nov 01, 2005 7:47 pm Post subject: |
|
|
Quote: |
Eclipse SDK
Version: 3.1.0
Build id: Gentoo Linux eclipse-sdk-3.1-r1
|
This version works fine for me with no problems. Set jikes as my java compiler and had to set the blackdown jdk env using java-config but thats it :/ _________________ [ 2008.0 X86 E8400 @ 4.0Ghz ] |
|
Back to top |
|
|
flosit n00b
Joined: 01 Nov 2005 Posts: 6
|
Posted: Tue Nov 01, 2005 8:09 pm Post subject: |
|
|
thanks for the fast reply, but it didn't help |
|
Back to top |
|
|
GJtje n00b
Joined: 07 Nov 2004 Posts: 63 Location: Amsterdam, NL
|
Posted: Wed Nov 02, 2005 7:44 am Post subject: |
|
|
Swt doesn't seem to be installed, or you are using a 32bit jre, which doesn't work with 64 bit native libraries. |
|
Back to top |
|
|
flosit n00b
Joined: 01 Nov 2005 Posts: 6
|
Posted: Wed Nov 02, 2005 5:09 pm Post subject: |
|
|
well, i installed swt via emerge, as i did with the jdks.
shouldn't they work natively for amd64?
the ibm-jdk i installed was for amd64, too. (at least the download-link said this) |
|
Back to top |
|
|
flosit n00b
Joined: 01 Nov 2005 Posts: 6
|
Posted: Sat Nov 05, 2005 11:32 am Post subject: |
|
|
doesn't anybody have an idea? |
|
Back to top |
|
|
glide87th n00b
Joined: 21 Oct 2004 Posts: 9 Location: Winnipeg
|
Posted: Mon Nov 07, 2005 1:22 am Post subject: |
|
|
Did you try running as root? I had to make some permissions changes to get some of the eclipse plugins to install properly. _________________ There's no such thing as time; we invented it. |
|
Back to top |
|
|
flosit n00b
Joined: 01 Nov 2005 Posts: 6
|
Posted: Mon Nov 07, 2005 8:09 pm Post subject: |
|
|
yes i did.
same results |
|
Back to top |
|
|
GJtje n00b
Joined: 07 Nov 2004 Posts: 63 Location: Amsterdam, NL
|
Posted: Wed Nov 09, 2005 8:00 am Post subject: |
|
|
I'd try 3.1, in that release they shuffled with the location of the SWT libraries, maybe it works better. It's been stable for quite a wal already anyway. |
|
Back to top |
|
|
flosit n00b
Joined: 01 Nov 2005 Posts: 6
|
Posted: Wed Nov 09, 2005 6:10 pm Post subject: |
|
|
it works now.
i'm using the blackdown-jdk-1.4.2.02, swt-3.1-r1 and eclipse-sdk-3.1-r1
it didn't work with every other combination i tried before.
thanks for all the help |
|
Back to top |
|
|
|