Skip to main content


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
Hello,

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
!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/marta/.swt/lib/linux/x86_64/libswt-gtk-3740.so
Can't load library: /home/marta/.swt/lib/linux/x86_64/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:601)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)


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
/usr/lib/jvm/java-7-oracle/jre/bin/java

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

root@marta-VirtualBox:/home/marta# echo $JAVA_HOME
/usr/lib/jvm/java-7-oracle


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: 1853
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/libswt-gtk-4233.so - you don't seem to have write permissions in that area?

[1] http://www.eclipse.org/forums/index.php/f/100/
Previous Topic:ASTNode type and variable bindings
Next Topic:Creating XML file from java program
Goto Forum:
  


Current Time: Fri Apr 26 09:54:44 GMT 2024

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

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

Back to the top