Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse won't Start
Eclipse won't Start [message #759402] Mon, 28 November 2011 15:02 Go to next message
Mark Phillips is currently offline Mark PhillipsFriend
Messages: 8
Registered: November 2011
Junior Member
I moved my previous Android development environment to a new hard drive, but same computer. I cannot get eclipse to start - no splash screen, just nothing. I am trying to run 32 bit eclipse with 32 bit java on my 64 bit Debian box. I have the ia32 extensions installed.

When I run in debug mode I get:
mark@orca:~/eclipse$ ./eclipse -debug
Start VM: /usr/local/lib/jdk1.6.0_29/bin/java
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar /home/mark/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /home/mark/eclipse/eclipse
-name Eclipse
--launcher.library /home/mark/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505/eclipse_1407.so
-startup /home/mark/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata 2338008
-debug
-vm /usr/local/lib/jdk1.6.0_29/bin/java
-vmargs
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar /home/mark/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar 
Install location:
    file:/home/mark/eclipse/
Configuration file:
    file:/home/mark/eclipse/configuration/config.ini loaded
Configuration location:
    file:/home/mark/eclipse/configuration/
Framework located:
    file:/home/mark/eclipse/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
Framework classpath:
    file:/home/mark/eclipse/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
Splash location:
    /home/mark/eclipse/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
Debug options:
    file:/home/mark/eclipse/.options not found
Time to load bundles: 9
Starting application: 2148
mark@orca:~/eclipse$ 


I am running Linux version 3.1.0-1-amd64 (Debian 3.1.1-1) (gcc version 4.6.2 (Debian 4.6.2-4)) on the server. My eclipse.ini looks like this:
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/usr/local/lib/jdk1.6.0_29/bin/java
-vmargs
-Xms40m
-Xmx384m


From the command line I get:
mark@orca:~/eclipse$ java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Server VM (build 20.4-b02, mixed mode)

What am I missing to get eclipse to start?

Thanks,

Mark

[Updated on: Mon, 28 November 2011 15:03]

Report message to a moderator

Re: Eclipse won't Start [message #759453 is a reply to message #759402] Mon, 28 November 2011 17:33 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 28-Nov-11 08:02, Mark Phillips wrote:
> -vm /usr/local/lib/jdk1.6.0_29/bin/java

If it's in fact a 64-bit host, why would this path be a 32-bit JDK?
Check again, I think.
Re: Eclipse won't Start [message #759468 is a reply to message #759453] Mon, 28 November 2011 19:00 Go to previous messageGo to next message
Mark Phillips is currently offline Mark PhillipsFriend
Messages: 8
Registered: November 2011
Junior Member
Because I installed the 32 bit jdk myself. Android needs 32 bit java, not 64 bit java. That is why I run the 32 bit eclipse on a 64 bit machine.

I also checked the md5sum for eclipse, and the download was ok.

Mark

[Updated on: Mon, 28 November 2011 19:02]

Report message to a moderator

Re: Eclipse won't Start [message #759531 is a reply to message #759468] Tue, 29 November 2011 01:20 Go to previous message
Mark Phillips is currently offline Mark PhillipsFriend
Messages: 8
Registered: November 2011
Junior Member
Solved:

I ran eclipse from the command line:
java -jar /home/mark/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar

and got these errors:
eclipse.buildId=M20110909-1335
java.version=1.6.0_29
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US

!ENTRY org.eclipse.osgi 4 0 2011-11-28 18:09:53.790
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
	/home/mark/eclipse/configuration/org.eclipse.osgi/bundles/154/1/.cp/libswt-pi-gtk-3738.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
	no swt-pi-gtk in java.library.path
	/home/mark/.swt/lib/linux/x86/libswt-pi-gtk-3738.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
	Can't load library: /home/mark/.swt/lib/linux/x86/libswt-pi-gtk.so
......

The library libgtk-x11-2.0.so is in the Debian package ia32-libs-gtk, and once I installed that package, eclipse started.

Mark

[Updated on: Tue, 29 November 2011 01:21]

Report message to a moderator

Previous Topic:file not recognized: File format not recognized
Next Topic:Problem reaching eclipse update servers
Goto Forum:
  


Current Time: Thu Apr 25 15:41:46 GMT 2024

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

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

Back to the top