Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse library issue on Linux(Eclipse fails to start due to SWT library conflict)
Eclipse library issue on Linux [message #1764194] Fri, 26 May 2017 11:03
Eclipse UserFriend
Need to XTERM to Linux machine to run eclipse eclipse-platform-4.4.2-linux-gtk-x86_64

When I execute command
./eclipse
I get the following error:

!SESSION 2017-05-25 10:48:31.457 -----------------------------------------------
eclipse.buildId=4.4.2.M20150204-1700
java.fullversion=JRE 1.8.0 IBM J9 2.8 Linux amd64-64 Compressed References 20160816_315341 (JIT enabled, AOT enabled)
J9VM - R28_20160816_1459_B315341
JIT  - tr.r14.java.green_20160726_121883
GC   - R28_20160816_1459_B315341_CMPRSS
J9CL - 20160816_315341
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 4 0 2017-05-25 10:48:37.082
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
        /opt/IBM/scanalytics/mediationtool/eclipse/configuration/org.eclipse.osgi/156/0/.cp/libswt-pi-gtk-4430.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
        swt-pi-gtk (Not found in java.library.path)
        /home/ncoadmin/.swt/lib/linux/x86_64/libswt-pi-gtk-4430.so (/home/ncoadmin/.swt/lib/linux/x86_64/liblibswt-pi-gtk-4430.so.so: cannot open shared object file: No such file or directory)
        /home/ncoadmin/.swt/lib/linux/x86_64/libswt-pi-gtk.so (/home/ncoadmin/.swt/lib/linux/x86_64/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)
        /home/ncoadmin/.swt/lib/linux/x86_64/libswt-pi-gtk-4430.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:327)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:236)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:39)
        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:135)
        at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:716)
        at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
        at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:165)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:107)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
        at java.lang.reflect.Method.invoke(Method.java:508)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1438)


When I checked machine using
locate
command ... the libraries existed.

Machine is configured with IBM Java 8

Any ideas of what issue is?

Any suggestions as to what we should try in order to overcome issue?
Previous Topic:Export to JAR issues
Next Topic:Javascript and debugging configuration.
Goto Forum:
  


Current Time: Sun Mar 16 09:53:40 EDT 2025

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

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

Back to the top