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 ...
There are someways to solve that:
If you're running on 32 bit version of eclipse try to install 64 bit version.
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 :
I had similar problem.
I solved it with editing eclipse.ini file:
Go to ~/eclipse/java-/eclipse/eclipse.ini
Open eclipse.ini with your favourite text editor.
Save and try starting eclipse. : - )
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:
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 ...
OK so after trying everything it turns out that the issue I was having was due to me using the Oracle Java 9 PPA. So I removed Oracle Java by doing sudo apt-get remove --purge java*
Then I installed the openjdk 8 and jre and the error went away and I can now run Eclipse or Aptana Studion 3.