Thursday, June 12, 2008

[Solved] Eclipse 3.4 + Ubuntu 8.04 + SUN JDK == Crash

I've been trying to run eclipse 3.4 RC3 on my ubuntu 8.04 64 bit box: nothing. The issues can be tracked to two things:
  1. XULRunner should be updated to latest version, otherwise the internal browser will crash, for example when showing the Welcome view.
  2. The workbench will crash when attempting compilation of your workspace for the first time. This seems to be related to a bug in the HotSpot of your JRE: if you take a look at the crashlog and see something like:
Current CompileTask:
C2:1504 org.eclipse.core.internal.dtree.DataTreeNode.forwardDeltaWith([Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode;[Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode;Lorg/eclipse/core/internal/dtree/IComparator;)[Lorg/eclipse/core/internal/dtree/AbstractDataTreeNode; (469 bytes)
then, welcome into the club ;)

Fortunately there is a workaround even for this by adding

-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith

in your eclipse.ini JVM options.
Kudos to the great community! :D

References

No comments: