Edit file eclipse.desktop , it's path ~/.local/share/applications/
View it , like this:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Java - Eclipse
Icon=eclipse.png
Path=/opt/eclipse
Exec=/opt/eclipse/eclipse
StartupNotify=false
StartupWMClass=Eclipse
OnlyShowIn=Unity;
X-UnityGenerated=true
You should edit the line 8 , between Exec=
and your eclipse-install-path , insert env UBUNTU_MENUPROXY=
After that , the eclipse.desktop should like this,
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Java - Eclipse
Icon=eclipse.png
Path=/opt/eclipse
Exec=env UBUNTU_MENUPROXY= /opt/eclipse/eclipse
StartupNotify=false
StartupWMClass=Eclipse
OnlyShowIn=Unity;
X-UnityGenerated=true
NOTE: Before eclipse-install-path , there is a space. If not , Eclipse could not startup.