Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Unsatisfied Link Error and missing .so files when starting Eclipse

I'm having a problem loading Eclipise in 12.04. I loaded the error log and this was inside:

!SESSION 2012-09-03 16:52:09.742 -----------------------------------------------
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-09-03 16:52:11.317
!MESSAGE Application error
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/marcel/.swt/lib/linux/x86_64/
    Can't load library: /home/marcel/.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 org.eclipse.ui.internal.Workbench.createDisplay(
    at org.eclipse.ui.PlatformUI.createDisplay(
    at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(
    at org.eclipse.equinox.launcher.Main.basicRun(
    at org.eclipse.equinox.launcher.Main.main(

I had openJDK installed and to remove and replace with Oracle Java to install Aptana Studio.

This thread explains it all.

So now reinstalled OpenJDK, this might give some insight to the problem?

share|improve this question

marked as duplicate by Oli Sep 4 '12 at 21:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I installed Eclipse (zip distribution downloaded from Eclipse site) with Oracle JDK 6 on Ubuntu 12.04. and did not have any problem. What version of openJDK do you use? – Saeed Zarinfam Sep 3 '12 at 15:14
this is the openJDK7 from the software center – Marchosius Sep 3 '12 at 15:32
Any other input for this? – Marchosius Sep 4 '12 at 15:25
It may openJDk7 problem. Try once with oracle JDK 6, it might solve your problem. – Saeed Zarinfam Sep 4 '12 at 16:49
i am also using open jdk 7 and it's working fine for me 12.04 64 bit. Regarding eclipse, I dl it from the eclipse site for linux; unzipping the folder and running the eclipse worked for me again. – Ankit Sep 4 '12 at 17:27

The easiest way to install Eclipse with Java is : sudo apt-get install eclipse-jdt.

Nice clean and simple.

share|improve this answer
up vote 0 down vote accepted

Downloaded the Eclipse studio from the eclipse site at

The eclipse in the app store for ubuntu 12.04 is out dated and seems like the download from the site was what was needed, installed and works properly.

By going Help->install new software and adding in as the "work with" source I was able to install aptana studio plugin for Eclipse.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.