Ubuntu 16.04 Eclipse launcher icon problems
I have been able to resolve this by just removing the eclipse.desktop file from ~/.local/share/applications
and then exiting and launching eclipse again:
I followed this solution: https://askubuntu.com/a/735924
I had a similar problem. I tried ScottC's answer mentioned here. I created the .desktop file on my desktop location, added the exec path as <eclipse installation directory>/eclipse
and icon path as <eclipse installation directory>/icon.xpm
and then pinned it to the launcher. This worked for me.