Everytime I try to run eclipse, my system crashes. That happens when it appears the window that asks me to select the workspace. I've installed JDK and Maven, and downloaded Eclipse from the official website
It's a bug in the SWT porting on GTK3. There is no real solution, but there is a workaround by forcing Eclipse to use GTK2.
I assume your Eclipse folder is /opt/eclipse and that you don't have write permissions in this folder. Please change the commands, if your set-up differs.
There are two ways to apply this workaround, a long and explanatory way, and a short one for the lazy ;)
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 reference, plz check
https://elementaryos.stackexchange.com/questions/1276/eclipse-mars-freezes-after-splash-screen
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With