Problem: Eclipse fails to start, with message –
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-gtk-3740 in java.library.path
no swt-gtk in java.library.path
Reason: Tries to find these libraries in the corresponding location for OpenJDK.
In terminal,sudo gedit/etc/eclipse.ini
Append line (VM args section being last): -Djava.library.path=/usr/lib/jni
Save close the file.
Eclipse should launch successfully now.
Kj [/.] Sreekumar programs computers as a hobby and profession. Into programming from his school days, Sree uses Codemarvels to key in facts and fixes he finds interesting while working on different projects. Some of the articles here give away a few shades of his philosophical leanings too.