Eclipse doesn't look for SWT libraries properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eclipse (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If a user uses oracle java 7 (currently in a webupd8 ppa) and tries to load eclipse, an error similar to that below occurs (as described here http://
The problem is that the SWT libraries are not located in "/usr/.
The workaround is to create a symbolic link
(for 32 bit)
ln -s /usr/lib/
And on 64 bit:
ln -s /usr/lib/
or to use "sudo update-alternatives --config java" and select to use the openjdk version.
!SESSION 2012-04-15 21:05:46.902 -------
eclipse.
java.version=1.7.0
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2012-04-15 21:05:47.885
!MESSAGE Application error
!STACK 1
java.lang.
no swt-gtk-3740 in java.library.path
no swt-gtk in java.library.path
Can't load library: /home/tom/
Can't load library: /home/tom/
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.eclipse.
at org.eclipse.
at org.eclipse.
at org.eclipse.
description: | updated |
Changed in eclipse (Ubuntu): | |
status: | New → Confirmed |