Here I write about the pitfalls getting Eclipse Neon running
Black tooltips
First issue was an easy one. I fixed the behaviour as follows:
System Settings > Common Appearance and Behaviour > Application Appearance > Colours > Colour > Tooltip Background > Tooltip Text
Choose a different color and click apply.
Eclipse crashes opening some dialogs and missing main menu
Fixing this issues took me longer than I expected. Every time I launched Eclipse Marketplace the application crashed. And the missing main menu was very annoying.
I found out than the reason lies in a KDE bug.
Edit your eclipse.ini adding
[code]
–launcher.GTK_version 2
[/code]
or set these variable, e.g. in your application launcher file
[code]
export SWT_GTK3=0
[/code]
Further I edited the file „/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc“ and changed
[code]
GtkComboBox::appears-as-list = 1
[/code]
into
[code]
GtkComboBox::appears-as-list = 0
[/code]
Application Launcher file and Eclipse configugration
So my application launcher file and Eclipse configuration file looks like this.
~/local/share/applications/Eclipse-Neon.desktop
[code]
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=SWT_GTK3=0 /home/xyz/eclipse/jee-neon/eclipse/eclipse -clean -vm /usr/lib/jvm/oracle-java8-jdk-amd64/bin/java
Terminal=false
Icon=/home/xyz/eclipse/jee-neon/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;Java;
Name[en]=Eclipse
[/code]
eclipse.ini
[code]
-startup
plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.platform
–launcher.defaultAction
openFile
–launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Xms256m
-Xmx1024m
[/code]
Now, I am happy 😉
Links
http://askubuntu.com/a/258451
https://bugs.eclipse.org/bugs/show_bug.cgi?id=440660#c20
https://bugs.kde.org/show_bug.cgi?id=339174#c16
https://bugs.eclipse.org/bugs/show_bug.cgi?id=430736#c50