Following steps are taken from beamtic.com
gedit ~/.local/share/applications/eclipse.desktop
[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=[PATH TO ECLIPSE INSTALLATION]/eclipse/icon.xpm
Exec=[PATH TO ECLIPSE INSTALLATION]/eclipse/eclipse
Terminal=false
Categories=Development
StartupWMClass=Eclipse
chmod +x ~/.local/share/applications/eclipse.desktop
Voila!