Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » java.lang.UnsatisfiedLinkError: no swt-gtk
java.lang.UnsatisfiedLinkError: no swt-gtk [message #219167] Mon, 02 July 2007 09:30 Go to next message
Eclipse UserFriend
Originally posted by: nathan.mceachen.us

Hello,

I eagerly downloaded Eclipse 3.3 today but can't start it. I am running
Red Hat Enterprise 4 and using the JRE from 1.5. Below I have included my
stack trace. I explicitly put both the org.eclipse.swt_3.3.0.v3346.jar
and the org.eclipse.swt.gtk.linux.x86_3.3.0.v3346.jar on my class path. I
have spent many hours Googling, but have not found a posted solution to
this exact problem. I also tried setting -vmargs -Dswt.library.path to
these jars when starting the eclipse startup script.

I also don't understand why eclipse says it cannot find the jars listed
below. They are all in the plugins directory.

Any help would be greatly appreciated. I tried my best to solve this
problem by reading other posts, but I am afraid my limited knowledge of
the inner workings of Eclipse is my handicap. I am currently running
3.2.1 without any problems and want to embrace 3.3.

Thanks,

-Nathan


!ENTRY org.eclipse.osgi 4 0 2007-07-02 02:24:00.642
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-gtk-3346 or swt-gtk in
swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:21 9)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:15 1)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
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:128)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:482)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at
org.eclipse.ui.internal.ide.application.IDEApplication.creat eDisplay(IDEApplication.java:133)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:86)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)

!ENTRY org.eclipse.osgi 2 0 2007-07-02 02:24:00.769
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-07-02 02:24:00.769
!MESSAGE Bundle
update@plugins/org.eclipse.jdt.compiler.tool_1.0.0.v_771.jar [43] was not
resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-07-02 02:24:00.769
!MESSAGE Bundle
update@plugins /org.eclipse.jdt.apt.pluggable.core_1.0.0.v20070529-2100.jar
[129] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2007-07-02 02:24:00.769
!MESSAGE Missing imported package
org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2007-07-02 02:24:00.770
!MESSAGE Missing imported package
org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2007-07-02 02:24:00.770
!MESSAGE Missing imported package
org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2007-07-02 02:24:00.770
!MESSAGE Missing imported package
org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-07-02 02:24:00.770
!MESSAGE Bundle
update@plugins/org.eclipse.jdt.compiler.apt_1.0.0.v20070510-2000.jar [172]
was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2007-07-02 02:24:00.770
!MESSAGE Missing imported package
org.eclipse.jdt.internal.compiler.tool_0.0.0.
Re: java.lang.UnsatisfiedLinkError: no swt-gtk [message #219262 is a reply to message #219167] Mon, 02 July 2007 19:52 Go to previous message
Eclipse UserFriend
Originally posted by: nathan.mceachen.us

OK. I figured it out. My fault. The default download on the main
Eclipse download page is for the 32 bit version. I have a 64 bit machine
and JVM. The default download page as a tiny link for "Find out more" ->
"All versions" -> "3.3". I downloaded the 64 bit version and the problem
disappeared.

-Nathan
Previous Topic:won't start, err code 13, rhel4 64bit
Next Topic:'Target selection failed' when try to debug
Goto Forum:
  


Current Time: Thu Apr 25 16:13:02 GMT 2024

Powered by FUDForum. Page generated in 0.07920 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top