Eclipse crashes almost always with SUN JDK 1.6.0.05 or above. There are two workarounds:
- Use SUN JDK 1.5.
- Prevent org.eclipse.core.internal.dtree.DataTreeNode.forwardDeltaWith() from being compiled by the hotspot engine:
cd /usr/local/java/eclipse
echo "exclude org/eclipse/core/internal/dtree/DataTreeNode forwardDeltaWith"
> .hotspot_compiler
I prefer the second solution because JRE 1.6 outperforms JRE 1.5 in performance, which means better IDE responsiveness etc etc. However, it is also OK to choose the solution #1 when the second one doesn’t work for you.