Hot answers tagged

23

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


4

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‍‍‍ : -Dorg.eclipse.swt.browser.DefaultType=mozilla` -Dorg.eclipse.swt....


2

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. Add --launcher.GTK_version 2 Before "--launcher.appendVmargs” Save and try starting eclipse. : - )


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


1

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.


1

Download it from http://www.eclipse.org/downloads/eclipse-packages/?osType=linux&release=undefined extract it. Run it.


1

You need to create a .desktop file and save it under ~/.local/share/applications/eclipse.desktop See this thread for more information.


1

Thanks, adding the lines --launcher.GTK_version 2 to the STS.ini file works fine for me.


Only top voted, non community-wiki answers of a minimum length are eligible