eclipsejava-7javaazul-zulu

Open JDK crashing eclipse


I'm working on migrating my project from Oracle JDK to open JDK - Zulu 7.

The problem is after I point my eclipse to the Open JDK version, the eclipse keeps crashing. Once I point the eclipse to the oracle installation the eclipse is behaving properly.

Anyway I could solve this issue and continue to point to the Open JDK version?

Cheers!!!


Solution

  • I guess that you see this when starting IDE itself with Zulu? The Eclipse launcher has a nasty hack that parses the libjvm library to determine the vendor and sets launcher parameters accordingly. If I recall correctly - it sets Xmx more for the Oracle java. So try to explicitly increase the Xmx value in your eclipse.ini (to -Xmx1024m at least or may be even -Xmx2048m) and keep using Zulu.