Eclipse crash on elementaryOS
This is a bug in sending SWT to GTK3. There is no real solution, but there is a workaround forcing Eclipse to use GTK2.
I am assuming that your Eclipse folder is / opt / eclipse and that you do not have write permissions on that folder. Change the commands if your setup is different.
There are two ways to apply this workaround, the long and explanatory way, and the short one is for the lazy;)
- Modifying eclipse.ini manually
You need to open eclipse.ini in your Eclipse folder:
sudo -i scratch-text-editor / opt / eclipse / eclipse.ini and add the following lines:
- launcher.GTK_version
2
It's important to add these lines before --launcher.appendVmargs, otherwise Eclipse will crash.
for more help, plz check
https://elementaryos.stackexchange.com/questions/1276/eclipse-mars-freezes-after-splash-screen
source to share
I had this problem (Eclipse eclipse, crash, with Elementary Freya OS).
My Eclipse installation was done using the installer, so my path was different from what Prade jo points out, but his solution was correct.
sudo scratch-text-editor
Go to home -> yourUserName -> eclipse -> java-mars (or whatever version you have) -> eclipse -> eclipse.ini
The line before "--launcher.appendVmargs" adds:
--launcher.GTK_version
2
It should be good to go.
source to share