Skip to content
June 29, 2009 / edivad

Debian, eclipse and exit code 127

Just after installing eclipse from lenny repository, it crashed me up with the error JVM terminated. Exit code=127. After a bit of searching and watching at what a console execution told me, I tried execute eclipse from command line with a simple java -jar /usr/lib/eclipse/startup.jar. Well, in this way it starts up successfully without any problem. Then I tried again a startup from gnome menu and everything worked fine.

Now there is still the failing about integrated browser and the fact that eclipse shipped with lenny is the very obsolete 3.2.

9 Comments

Leave a Comment
  1. bluepill / Jul 17 2009 9:30 am

    and i thought stable meant stable for debian…

    • edivad / Jul 17 2009 9:46 am

      I didn’t understand what you meant :)

  2. Tahir Akram / Jul 20 2009 4:56 pm

    I also got this problem when I hit launcher of MyEclipse5.5. So what I did is to set JAVA_HOME path and launch Eclipse by following command:
    java -jar /home/tahir/program_files/eclipse/startup.jar

    And it works. I am on Fedora 11.

  3. Alionka / Oct 2 2009 4:46 pm

    Thanks! It was very useful!

  4. Erik / Oct 19 2009 5:37 pm

    This worked fine for me aswell!
    Using Debian Lenny with Xfce.

    Just start it with java as proposed above. Exit. And then start it from shortcut or execute the “eclipse” command and everything is back to normal.

    Many thanks!

  5. darkfate / Oct 21 2009 11:43 am

    i think that eclipse has problems with every x64 jre? so i think youre all on x64 right? a solution could be to install (extract) a 32bit JRE to eclipse subfolder eclipse/jre and start with eclipse -vm /eclipsepath/jre

    • edivad / Oct 21 2009 3:37 pm

      I’m runnig x32 one :)

  6. mario / Feb 3 2010 2:36 pm

    Solution = install java6 ok

  7. henryvaz / Jun 18 2010 12:36 am

    Tks u, it’s works fine for me. But somebody can tell me why it’s works ???

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.