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/
	Can't load library: /usr/lib/jni/
	Can't load library: /home/cr/.swt/lib/linux/x86_64/
	Can't load library: /home/cr/.swt/lib/linux/x86_64/

	at org.eclipse.swt.internal.Library.loadLibrary(
	at org.eclipse.swt.internal.Library.loadLibrary(
	at org.eclipse.swt.internal.C.<clinit>(
	at org.eclipse.swt.internal.Converter.wcsToMbcs(
	at org.eclipse.swt.internal.Converter.wcsToMbcs(
	at org.eclipse.swt.widgets.Display.<clinit>(
	at tree.main(
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: 3851
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:eclipse 4.15 don't run on macbookair version mac os x 10.9.5 with java 14.0.1
Next Topic:Need help
Goto Forum:

Current Time: Wed Sep 30 10:48:56 GMT 2020

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

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

Back to the top