I am new to Linux Ubuntu here, and I am trying to get the desktop launcher for Eclipse Oxygen working, that way I do not have to use the terminal to open Eclipse everytime I want to use it. My eclipse directory is in my desktop folder. I have also executed the following command, as I do not want to change my PATH environment variable:
sudo update-alternatives --install "/usr/bin/eclipse" "eclipse" "/home/USERNAME/Desktop/eclipse/eclipse" 1
I have also tried solving this issue by saving an eclipse.desktop file in my /usr/local/share/applications/ directory (sudo gedit /usr/local/share/applications/eclipse.desktop), as I thought that that would solve the issue, but I just can't seem to force Eclipse to launch from the launcher.
Here are the contents of my eclipse.desktop file, in case anyone is interested:
[Desktop Entry] Encoding=UTF-8 Name=Eclipse Type=Application Exec=/usr/bin/eclipse Terminal=false Icon=/home/USERNAME/Desktop/eclipse/icon.xpm Comment=Integrated Development Environment NoDisplay=false Categories=GNOME;Application;Development; StartupNotify=true Name[en]=Eclipse
Any advice would be appreciated! Please do not hesitate to ask for more information.