java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: /media/leader/MyData/Download/LinuxApp/eclipse/configuration/org.eclipse.osgi/744/0/.cp/libswt-pi-gtk-4527.so: libXtst.so.6: cannot open shared object file: No such file or directory no swt-pi-gtk in java.library.path /home/leader/.swt/lib/linux/x86/libswt-pi-gtk-4527.so: libXtst.so.6: cannot open shared object file: No such file or directory Can't load library: /home/leader/.swt/lib/linux/x86/libswt-pi-gtk.so

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Ask Ubuntu by Andiana
, 1 year ago
Could not load SWT library. Reasons: /media/leader/MyData/Download/LinuxApp/eclipse/configuration/org.eclipse.osgi/744/0/.cp/libswt-pi-gtk-4527.so: libXtst.so.6: cannot open shared object file: No such file or directory no swt-pi-gtk in
via Stack Overflow by Ramprasad
, 1 year ago
Could not load SWT library. Reasons: /home/ramprabhu/eclipse/configuration/org.eclipse.osgi/bundles/247/1/.cp/libswt-pi-gtk-3740.so: libXtst.so.6: cannot open shared object file: No such file or directory no swt-pi-gtk in java.library.path
via Stack Overflow by Olalekan Adebari
, 1 month ago
Could not load SWT library. Reasons: /home/MW/eclipse/configuration/org.eclipse.osgi/781/0/.cp/libswt-pi3-gtk-4757.so: libgtk-3.so.0: cannot open shared object file: No such file or directory no swt-pi3-gtk in java.library.path /home/MW/.swt
via Unix & Linux by amphibient
, 1 year ago
no swt-pi-gtk-3555 or swt-pi-gtk in swt.library.path, java.library.path or the jar file
via Ask Ubuntu by usert22watslll
, 5 months ago
Could not load SWT library. Reasons: user/.altera.sbt4e/13.1.0.162/configuration/org.eclipse.osgi/bundles/271/1/.cp/libswt-pi-gtk-3740.so: libXtst.so.6: cannot open shared object file: No such file or directory no swt-pi-gtk in
via Stack Overflow by Anonymous Human
, 2 years ago
Could not load SWT library. Reasons: /home/ec2-user/ggts_sh/ggts-3.5.1.RELEASE/configuration/org.eclipse.osgi /bundles/704/1/.cp/libswt-pi-gtk-4335.so: libgtk-x11-2.0.so.0: cannot open share d object file: No such file or directory no swt
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: /media/leader/MyData/Download/LinuxApp/eclipse/configuration/org.eclipse.osgi/744/0/.cp/libswt-pi-gtk-4527.so: libXtst.so.6: cannot open shared object file: No such file or directory no swt-pi-gtk in java.library.path /home/leader/.swt/lib/linux/x86/libswt-pi-gtk-4527.so: libXtst.so.6: cannot open shared object file: No such file or directory Can't load library: /home/leader/.swt/lib/linux/x86/libswt-pi-gtk.so
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:327)
at org.eclipse.swt.internal.gtk.OS.(OS.java:38)
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.(Display.java:134)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:169)
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.