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"
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:
Comment=Integrated Development Environment
Any advice would be appreciated! Please do not hesitate to ask for more information.