Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » eclipse doesn't find swt?
eclipse doesn't find swt? [message #1827189] Sat, 09 May 2020 22:59 Go to next message
ivar zam is currently offline ivar zamFriend
Messages: 8
Registered: January 2020
Junior Member
I have a new installation of eclipse and am trying to run swt programs but get this error message, how can I solve this? thanks

Xubuntu 20.04.
eclipse version 2019-12

Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
	no swt-gtk-3836 in java.library.path: [/usr/java/packages/lib, /usr/lib/x86_64-linux-gnu/jni, /lib/x86_64-linux-gnu, /usr/lib/x86_64-linux-gnu, /usr/lib/jni, /lib, /usr/lib]
	no swt-gtk in java.library.path: [/usr/java/packages/lib, /usr/lib/x86_64-linux-gnu/jni, /lib/x86_64-linux-gnu, /usr/lib/x86_64-linux-gnu, /usr/lib/jni, /lib, /usr/lib]
	Can't load library: /usr/lib/jni/libswt-gtk-3836.so
	Can't load library: /usr/lib/jni/libswt-gtk.so
	Can't load library: /home/cr/.swt/lib/linux/x86_64/libswt-gtk-3836.so
	Can't load library: /home/cr/.swt/lib/linux/x86_64/libswt-gtk.so

	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:335)
	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240)
	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:133)
	at tree.main(tree.java:13)
Re: eclipse doesn't find swt? [message #1827218 is a reply to message #1827189] Sun, 10 May 2020 21:27 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3706
Registered: July 2009
Senior Member

Are you on Ubuntu on 64-bit Intel? Is your ~/.swt directory writeable?

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:this picture will show you here.
Next Topic:Need help
Goto Forum:
  


Current Time: Tue May 26 14:00:55 GMT 2020

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

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

Back to the top