Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » eclipse won't launch (error log attached)
eclipse won't launch (error log attached) [message #917052] Wed, 19 September 2012 19:23 Go to next message
T McI is currently offline T McIFriend
Messages: 1
Registered: September 2012
Junior Member
I run Eclipse Indigo on Ubuntu 12.04. In order to start developing Android apps, I read that you should install Sun Java rather than OpenJava.
I removed OpenJava and installed Sun Java and altered the .ini file in Eclipse to point to my Java vm.
However, Eclipse won't launch. I get this error file:

!SESSION 2012-09-19 20:03:34.627 -----------------------------------------------
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-19 20:03:47.281
!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/tim/.swt/lib/linux/x86_64/
	Can't load library: /home/tim/.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 haven't used eclipse for a while and am unsure if this error is linked to the changes I met, or are unrelated. Any help from you Eclipse experts out there would be appreciated!


Re: eclipse won't launch (error log attached) [message #921720 is a reply to message #917052] Mon, 24 September 2012 11:23 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2552
Registered: July 2009
Senior Member
Did you install a 32-bit -r 64-bit Java? Is your GTK+ also 64-bit?

Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Can I program in JAVA if I downloaded Eclipse for C/C++?
Next Topic:XML Build Error
Goto Forum:

Current Time: Tue Oct 06 04:09:20 GMT 2015

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

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