Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse is not starting
Eclipse is not starting [message #816987] Fri, 09 March 2012 13:48 Go to next message
florent ehretf is currently offline florent ehretfFriend
Messages: 3
Registered: March 2012
Junior Member
Hi all,

I used to run eclipse on windows without problem but I recently move to Linux.

Unfortunatly, I'm not able to get Eclipse to launch properly.
I use Debian 6 on a 64bit AMD computer.

I'm running the below java version:
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

I also tried with Java7 but faced the exact same issue.

I get the spash screen but nothing happen after that.

May some help me please?

When starting eclipse with -debug option, here is the output:

Start VM: /usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=512m
-Xms256m
-Xmx384m
-jar /home/ehretf/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/ehretf/eclipse/eclipse
-name Eclipse
--launcher.library /home/ehretf/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
-startup /home/ehretf/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata 60008
-product org.eclipse.epp.package.java.product
-debug
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=512m
-Xms256m
-Xmx384m
-jar /home/ehretf/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
Install location:
file:/home/ehretf/eclipse/
Configuration file:
file:/home/ehretf/eclipse/configuration/config.ini loaded
Configuration location:
file:/home/ehretf/eclipse/configuration/
Framework located:
file:/home/ehretf/eclipse/plugins/org.eclipse.osgi_3.7.2.v20120110-1415.jar
Framework classpath:
file:/home/ehretf/eclipse/plugins/org.eclipse.osgi_3.7.2.v20120110-1415.jar
Splash location:
/home/ehretf/eclipse/plugins/org.eclipse.platform_3.7.2.v201202080800/splash.bmp
Debug options:
file:/home/ehretf/eclipse/.options not found
Time to load bundles: 7
Re: Eclipse is not starting [message #817043 is a reply to message #816987] Fri, 09 March 2012 15:08 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3248
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 3/9/2012 6:48 AM, florent ehretf wrote:
> Hi all,
>
> I used to run eclipse on windows without problem but I recently move to
> Linux.
>
> Unfortunatly, I'm not able to get Eclipse to launch properly.
> I use Debian 6 on a 64bit AMD computer.
>
> [snip]

Where did your Eclipse come from?
Re: Eclipse is not starting [message #817054 is a reply to message #817043] Fri, 09 March 2012 15:24 Go to previous messageGo to next message
florent ehretf is currently offline florent ehretfFriend
Messages: 3
Registered: March 2012
Junior Member
Hi Russell,

I have downloaded Eclipse from eclispe.org.

The file is named eclipse-java-indigo-SR2-linux-gtk-x86_64.tar.gz

Thanks for your reply, hope you can help
Re: Eclipse is not starting [message #817077 is a reply to message #817054] Fri, 09 March 2012 15:49 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3248
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 3/9/2012 8:24 AM, florent ehretf wrote:
> Hi Russell,
>
> I have downloaded Eclipse from eclispe.org.
>
> The file is named eclipse-java-indigo-SR2-linux-gtk-x86_64.tar.gz
>
> Thanks for your reply, hope you can help

I tried to reproduce what you're doing, though I'm running Ubuntu
Maverick. At this point, I guess I'd ask you what's in eclipse.ini.

First, however, note that to develop in Java (you've chosen the Eclipse
IDE for Java Developers package), you'll want a proper Sun JDK. You'll
see mine wired up in my new Indigo eclipse.ini (see below or
http://wiki.eclipse.org/Eclipse.ini).

You'll want to pay attention to the -vm switch (whose value is on the
line following it). Get your JDK from java.sun.com, hover over
Downloads, choose Java for Developers under Popular Downloads.

Eclipse isn't failing to start because you don't have a JDK, your host's
JRE should be sufficient, but since you need a JDK to do Java
development, we should get that going from the start and sort out the
trouble (if any) with that set-up.

Hope this is helpful.

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/home/russ/dev/jdk1.6.0_31/bin/java <---- use your path here
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
Re: Eclipse is not starting [message #817125 is a reply to message #817077] Fri, 09 March 2012 17:11 Go to previous messageGo to next message
florent ehretf is currently offline florent ehretfFriend
Messages: 3
Registered: March 2012
Junior Member
Here is my eclipse.ini file:

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=512m
-Xms256m
-Xmx384m

/usr/bin/java is a symbolic link to /etc/alternatives/java

I tried with jdk1.6 and jdk1.7, changing the default java version with update-alternative (I tried with root account at his point to prevent any right issue):
root@vks10481:~# ls -la /etc/alternatives/java
lrwxrwxrwx 1 root root 30 Mar 9 17:53 /etc/alternatives/java -> /usr/lib/jvm/jdk1.7.0/bin/java
root@vks10481:~# java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)

root@vks10481:~# update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/jdk1.7.0/bin/java 1065 auto mode
1 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode
2 /usr/lib/jvm/jdk1.7.0/bin/java 1065 manual mode

Press enter to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/java to provide /usr/bin/java (java) in manual mode.

root@vks10481:~# java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

I have installed java6 from Debian repository, java7 has been installed from

Unfortunatly I have the same issue

A ps aux command issue the following informations:
root 27917 1.1 6.5 1199940 68404 pts/0 Sl 17:58 0:01 /usr/bin/java -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=512m -Xms256m -Xmx384m -jar /home/ehretf/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /home/ehretf/eclipse/eclipse -name Eclipse --launcher.library /home/ehretf/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup /home/ehretf/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 9000d -product org.eclipse.epp.package.java.product -debug -vm /usr/bin/java -vmargs -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=512m -Xms256m -Xmx384m -jar /home/ehretf/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar


I have to see that I'm using a X forwarding to launch eclipse but I would see that this is not a problem as every other application work fine (I can launch gnome desktop, firefox etc... without trouble)
Re: Eclipse is not starting [message #817474 is a reply to message #817125] Sat, 10 March 2012 05:24 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1348
Registered: July 2009
Senior Member
On 03/09/2012 11:11 AM, florent ehretf wrote:
> Here is my eclipse.ini file:
>
> -startup
> plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505
> -product
> org.eclipse.epp.package.java.product
> --launcher.defaultAction
> openFile
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256m
> --launcher.defaultAction
> openFile
> -vm
> /usr/bin/java
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -XX:MaxPermSize=512m
> -Xms256m
> -Xmx384m
>
> /usr/bin/java is a symbolic link to /etc/alternatives/java
>
You need to point to the actual directory where java is installed.
Don't provide the symbolic link location. Eclipse needs to find the
other files that make up the jdk in order correctly launch.

> I tried with jdk1.6 and jdk1.7, changing the default java version with
> update-alternative (I tried with root account at his point to prevent
> any right issue):
> root@vks10481:~# ls -la /etc/alternatives/java
> lrwxrwxrwx 1 root root 30 Mar 9 17:53 /etc/alternatives/java ->
> /usr/lib/jvm/jdk1.7.0/bin/java
> root@vks10481:~# java -version
> java version "1.7.0"
> Java(TM) SE Runtime Environment (build 1.7.0-b147)
> Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
>
> root@vks10481:~# update-alternatives --config java
> There are 2 choices for the alternative java (providing /usr/bin/java).
>
> Selection Path Priority Status
> ------------------------------------------------------------
> * 0 /usr/lib/jvm/jdk1.7.0/bin/java 1065 auto mode
> 1 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode
> 2 /usr/lib/jvm/jdk1.7.0/bin/java 1065 manual mode
>
> Press enter to keep the current choice[*], or type selection number: 1
> update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/java to
> provide /usr/bin/java (java) in manual mode.
>
> root@vks10481:~# java -version
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
>
> I have installed java6 from Debian repository, java7 has been installed
> from
> Unfortunatly I have the same issue
> A ps aux command issue the following informations:
> root 27917 1.1 6.5 1199940 68404 pts/0 Sl 17:58 0:01 /usr/bin/java
> -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=512m -Xms256m -Xmx384m
> -jar
> /home/ehretf/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
> -os linux -ws gtk -arch x86_64 -showsplash -launcher
> /home/ehretf/eclipse/eclipse -name Eclipse --launcher.library
> /home/ehretf/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
> -startup
> /home/ehretf/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
> --launcher.overrideVmargs -exitdata 9000d -product
> org.eclipse.epp.package.java.product -debug -vm /usr/bin/java -vmargs
> -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=512m -Xms256m -Xmx384m
> -jar
> /home/ehretf/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
>
>
>
> I have to see that I'm using a X forwarding to launch eclipse but I
> would see that this is not a problem as every other application work
> fine (I can launch gnome desktop, firefox etc... without trouble)
>
Previous Topic:Retrieve the saved location of the android-sdk from eclipse
Next Topic:Developing a plugin for PHP
Goto Forum:
  


Current Time: Fri Nov 28 23:22:54 GMT 2014

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

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