As the title says how can I make that command work. I have eclipse installed in my /opt/ folder and I did make a destop file with:

```
[Desktop Entry]
Version=4.6
Name=Eclipse Neon C
GenericName=IDE
Comment=Eclipse Neon for c/c++ developers
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Type=Application
Categories=Utility;Application;

```

However whenever I type `eclipse myprogram.c`, I get the following error"

```
The program 'eclipse' is currrently not installed. You can install it by typing: 
sudo apt install eclipse-platform.

```