Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse will not start in Ubuntu 12.04 - 64 bits( Eclipse will not start in Ubuntu 12.04 - 64 bits)
Eclipse will not start in Ubuntu 12.04 - 64 bits [message #890850] Sat, 23 June 2012 08:10 Go to next message
marta perez is currently offline marta perezFriend
Messages: 2
Registered: June 2012
Junior Member

I have the following problem when starting the application:

!ENTRY org.eclipse.osgi 4 0 2012-06-23 10:00:26.666
!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/marta/.swt/lib/linux/x86_64/
Can't load library: /home/marta/.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(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(

I've looked at some forums and others and say that I have no java for 64 bit but for 32. but I think the fault is not there.

root@marta-VirtualBox:/home/marta# update-alternatives --list java

-- fich: jre-7u5-linux-x64.tar.gz

root@marta-VirtualBox:/home/marta# echo $JAVA_HOME

Someone can help me.

Thank you very much in advance.
Re: Eclipse will not start in Ubuntu 12.04 - 64 bits [message #891365 is a reply to message #890850] Sun, 24 June 2012 20:28 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1598
Registered: July 2009
Senior Member
Looks like a question for the SWT team [1]

The obvious thing to check (you didn't mention): does the swt library exist at the given location? I'm surprised to see the .swt path, on my box those are located in places like eclipse/configuration/org.eclipse.osgi/bundles/721/2/.cp/ - you don't seem to have write permissions in that area?

Previous Topic:ASTNode type and variable bindings
Next Topic:Creating XML file from java program
Goto Forum:

Current Time: Wed Apr 25 09:12:02 GMT 2018

Powered by FUDForum. Page generated in 0.01469 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software