19

Somehow stupid question, I have to admit - hope it won't cost me too many points.

To make it clear: I would also be happy if you can help me find the reason for the crashes. I wouldn't expect a precise answer.

However, I don't see why my Eclipse is crashing (freezing) all the time. Mostly when I save a file.

For some reason, crashes seem to increase lately...

I use Eclipse Helios (Version: 3.6.1) and Java version 1.6.0_20 (OpenJDK Runtime Environment (IcedTea6 1.9.2) (6b20-1.9.2-0ubuntu2) OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)) on Ubuntu 10.10 (64-Bit).

Thank you!

gprathour
  • 14,813
  • 5
  • 66
  • 90
speendo
  • 13,045
  • 22
  • 71
  • 107
  • 2
    How exactly do these crashes manifest? The process freezes? Does it consume CPU cycles when that happens? Or is there actually a JVM segfault? – Michael Borgwardt Dec 28 '10 at 20:53
  • 3
    I don't exactly know why, but Eclipse doesn't seem to work well at all with the 64bit JVM that comes with Ubuntu. It works well with the sun-java6-jdk package though. – Daff Dec 28 '10 at 20:56
  • hm, is there a way to check if my crashes are really Open JDK related? When Eclipse crashes the window turns dark and Eclipse doesn't response no more. No significant increase of CPU-consumption. When I quit and restart Eclipse, everything works fine again - sometimes it tells me something of a problem with a .log file. – speendo Dec 28 '10 at 21:18
  • 1
    it crashes for me too all the time. it used to crash with Helios and now with Indigo. It usually happens when after some idle time, i Clean+Build, and boom.... the IDE closes all of a sudden with exit code as 1... I am using Eclipse Indigo + Windows 7 + JDK 1.6, Tomcat 6.0 ![God Help us!!!](http://i.stack.imgur.com/IqkLm.png) – Darshan Aug 21 '11 at 08:41

4 Answers4

7

Try installing sun-java6-jdk from the partnerrepository.

ismail
  • 46,010
  • 9
  • 86
  • 95
  • hm, I thought on this, but Oracle made it easy not to like them lately... This is why I don't want to do that. – speendo Dec 28 '10 at 21:12
  • 1
    OpenJDK is still not in par with Sun JDK, sadly... Especially the font rendering differs very much. – ismail Dec 28 '10 at 21:31
  • @Steve because OpenJDK is known to crash Eclipse? Read comments before you -1 something. – ismail Sep 17 '11 at 17:03
  • I use java version "1.6.0_17" OpenJDK Runtime Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) It works just fine. – gouessej Apr 02 '12 at 07:59
  • For me, I had do 2 things: Change to Oracle Java; Stop using [oxygen gtk](https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1241532)(btw, I use Mageia and not Ubuntu/Kubuntu). – wendelbsilva Sep 19 '14 at 17:20
1

What version of Firefox you are using? The problem may be in xulrunner. Firefox 4 uses xulrunner 2.0, but eclipse 3.6 aren't compatible with it. Read more here

nikagra
  • 835
  • 2
  • 9
  • 23
  • In the meantime I swiched from Ubuntu to Debian and from OpenJDK to Sun JDK. Although I still don't like Oracle too much, at least there JDK works better. – speendo Jun 05 '11 at 08:24
0

i also have had problems running eclipe with the open jdk, you can try to install sun's/oracle's jdk and run eclipse with it

RRoman
  • 741
  • 9
  • 19
0

Have you tried using the sun-jdk instead to run Eclipse and see if that helps?

Abdullah Jibaly
  • 53,220
  • 42
  • 124
  • 197