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.
Fix:
open terminal window and type
sudo gedit/etc/eclipse.ini
Append line in last:
"-Djava.library.path=/usr/lib/jni"
Save the file.
Now launch eclipse again eclipse should run successfully
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.
Fix:
open terminal window and type
sudo gedit/etc/eclipse.ini
Append line in last:
"-Djava.library.path=/usr/lib/jni"
Save the file.
Now launch eclipse again eclipse should run successfully
No comments:
Post a Comment