file text is
for file creation command is -
$ gedit .local/share/applications/eclipse.desktop
###############################--------------------#####################
[Desktop Entry]
Name=Eclipse JEE Oxygen
Type=Application
Exec=/home/naresh/eclipse/jee-2019-12/eclipse/eclipse
Terminal=false
Icon=/home/naresh/Downloads/eclipse-inst-linux64/eclipse-installer/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
###########################
###########################---------------------