Eclipse wont open but asks to see error message in log file

Asked by Edmond Condillac

The following is the message:

An error has occurred. See the log file
/home/econd/.eclipse/org.eclipse.platform_3.7.0_155965261/configuration/1383483913231.log.

I've tried to reinstall eclipse from Synaptic Package Manager after uninstalling the program first. This does not help.

I'd be most grateful for your kind advice and help to get eclipse working again, if possible, on my Ubuntu 12.04 LTS system. The uname -a command outputs:
Linux 3.5.0-43-generic #66~precise1-Ubuntu SMP Thu Oct 24 14:55:08 UTC 2013 i686 i686 i386 GNU/Linux
Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Please provide the contents of the eclipse error log.
If that file is too long to be directly copied into this question document, please upload it to https://pastebin.ubuntu.com and then just provide the link that you receive.

Revision history for this message
Edmond Condillac (econ22) said :
#2

 From Applications --- Accessories --- Search for Files the search for the required file /home/econd/.eclipse/org.eclipse.platform_3.7.0_155965261/configuration/1383483913231.log did not find the file.

Revision history for this message
Edmond Condillac (econ22) said :
#3

!SESSION 2013-11-03 13:05:12.171 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.8.0-ea
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.osgi 4 0 2013-11-03 13:05:22.359
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
 no swt-gtk-3740 in java.library.path
 no swt-gtk in java.library.path
 Can't load library: /home/econd/.swt/lib/linux/x86/libswt-gtk-3740.so
 Can't load library: /home/econd/.swt/lib/linux/x86/libswt-gtk.so

 at org.eclipse.swt.internal.Library.loadLibrary(Library.java:285)
 at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194)
 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:132)
 at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:695)
 at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
 at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:153)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:95)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:483)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Revision history for this message
Edmond Condillac (econ22) said :
#4

The required link is http://pastebin.ubuntu.com/6360914/.
Thanks for looking into my quert.

Revision history for this message
Edmond Condillac (econ22) said :
#5

Thanks for looking into my query.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#6

Seems to be bug #975560 (and others)

According to the bug reports there is a orkaround for 32 bit systems as yours

rm -rf ~/.swt/lib/linux/x86
ln -s /usr/lib/jni ~/.swt/lib/linux/x86

Workaround for 64 bit systems

rm -rf ~/.swt/lib/linux/x86_64
ln -s /usr/lib/jni ~/.swt/lib/linux/x86_64

Revision history for this message
Edmond Condillac (econ22) said :
#7

Thank you very much. I appreciate your most kind help.