Alternatively set the environment variable SWT_GTK3 to zero to launch eclipse:
export SWT_GTK3=0; /path_to_your_eclipse/eclipse
As a side benefit:
GTK2 with a compact theme will also make a much better use of your screen real estate. Especially important, if you want to work on laptop with a small screen diagonal.
GTK3 as it comes out of the box is just ridiculous in this regard. Eclipse is completely unusable with GTK3 on my 1200x800 12" machine because of that.
--launcher.GTK_version 2
Alternatively set the environment variable SWT_GTK3 to zero to launch eclipse:
export SWT_GTK3=0; /path_to_your_eclipse/eclipse
As a side benefit: GTK2 with a compact theme will also make a much better use of your screen real estate. Especially important, if you want to work on laptop with a small screen diagonal. GTK3 as it comes out of the box is just ridiculous in this regard. Eclipse is completely unusable with GTK3 on my 1200x800 12" machine because of that.