Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!!!

like image 843
mani_nz Avatar asked Aug 04 '26 03:08

mani_nz


1 Answers

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.

like image 137
Ivan Krylov Avatar answered Aug 05 '26 17:08

Ivan Krylov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!