1

Everytime I try to run eclipse, my system crashes, it just freezes the screen and I can't do anything. I've already installed the JDK and Eclipse from the official websites, exported the var JAVA_HOME and PATH (in path just added the path to the bin folder of the JDK)

1
4

There are someways to solve that:

  1. If you're running on 32 bit version of eclipse try to install 64 bit version.
  2. Also It appears on old versions of eclipse try to install latest version. But if you are using older version than Kepler try to adding these two lines in your eclipse.ini‍‍‍ :

    -Dorg.eclipse.swt.browser.DefaultType=mozilla`
    -Dorg.eclipse.swt.browser.XULRunnerPath=/dev/null`
    

(I didn't try them in Kepler or Luna maybe it works for them)

  1. If you are using OpenJDK try to install Oracle JDK.
  2. Try to increase memory sizes (this way solve my problem before), So adding these lines to eclipse.ini :

    -XX:PermSize=256m
    -XX:MaxPermSize=512m
    -Xms1024m
    -Xmx2048m
    

Also you can read this article for more info.

2
  • I think that the problem is with Eclipse Mars, i've installed Eclipse Kepler and I had not any problem – Rodrigo Juarez Jul 20 '15 at 19:54
  • @RodrigoJuarez The solution for your problem with Eclipse Mars is here – Rafael Aug 14 '15 at 14:24
1

I am also experiencing similar problems. Disk IO pegs out at 100% until the OS crashes.

Entering the following command in the terminal will allow Eclipse Oxygen to load and run properly:

export SWT_GTK3=0

./eclipse &

I believe there is a problem that Eclipse has with the GTK toolkit.This is a temporary and annoying fix; however, I am hoping for a permanent fix.

Editing the eclipse.ini file didn't fix the problem. I still need to run the export command.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.