Skip to main content



      Home
Home » Newcomers » Newcomers » java.lang.UnsatisfiedLinkError
java.lang.UnsatisfiedLinkError [message #104495] Fri, 23 September 2005 17:40
Eclipse UserFriend
Originally posted by: huang.uwaterloo.ca

I downloaded and installed the package
eclipse-SDK-3.1-linux-gtk-x86_64.tar.gz on an Intel Xeon EM64T machine
which is running Red Hat Enterprise Linux AS (Release 4). When I ran
eclipse, I got the following error:

!SESSION 2005-09-23 14:55:48.143
-----------------------------------------------
eclipse.buildId=I20050627-1435
java.fullversion=J2RE 1.4.2 IBM build cxia321420-20040626 (JIT enabled:
jitc)
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 2005-09-23 14:55:50.520
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError:
/home/huang/.eclipse/org.eclipse.platform_3.1.0/configuratio n/org.eclipse.osgi/bundles/37/1/.cp/libswt-pi-gtk-3138.so:
/home/huang/.eclipse/org.eclipse.platform_3.1.0/configuratio n/org.eclipse.osgi/bundles/37/1/.cp/libswt-pi-gtk-3138.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:2120)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1968)
at java.lang.Runtime.loadLibrary0(Runtime.java:824)
at java.lang.System.loadLibrary(System.java:908)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:12 3)
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.ja va:381)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155)
at
org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDE Application.java:128)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:79)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:85)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:58)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
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)


It seems that the system is missing the library libswt-pi-gtk-3138.so. I
assumed that libswt-pi-gtk-3138.so was built inside the downloaded package
eclipse-SDK-3.1-linux-gtk-x86_64.tar.gz. If it was not, where can I find a
64-bit library libswt-pi-gtk-3138.so ?

Thanks a lot for your help.
Previous Topic:How do I make a project of existing java-files?
Next Topic:Using the JavaDoc Generator
Goto Forum:
  


Current Time: Sat May 10 21:32:15 EDT 2025

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

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

Back to the top