Thursday, October 15, 2015

Eclipse: Black tooltip background when running eclipse on centos and scentific linux

I have been use eclipse for java development but recently i migrated the eclipse over from centos and scentific linux, now the eclipse running on centos and scentific linux have a black tooltip when user hover over the codes. The problem seems to be related to GTK which eclipse use.

Create a "" in the eclipse root folder, make it executable. then put the following two lines in the files:

export SWT_GTK3=0

Now launch the "" instead of "eclipse" executable.

While the above solution seems to temporarily solve the black tooltip problem for me, eclipse will occasionally crash due to issues button size cannot be determined. Today, my colleague comes up with a better solution which is to replace the default desktop environment in centos with the xfce This completely remove the issue with black tooltip background in eclipse.

No comments:

Post a Comment