1

Another noob question trying to install Eclipse as per How to install Eclipse? that is following right up after this question: Eclipse installation process - initial "sudo mv eclipse /opt" Not working

I perform the gedit eclipse.desktop command, which opens the .desktop file. I then copy and paste the following into the file as instructed:

[Desktop Entry]
Name=Eclipse 
Type=Application
Exec=env UBUNTU_MENUPROXY=0 eclipse44
Terminal=false
Icon=eclipse
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse

I then try to execute sudo desktop-file-install eclipse.desktop, but nothing happens because the file is still open. So, I close it and it throws the error sudo: desktop-file-install: command not found.

What am I doing wrong?

0 Answers0