I have installed Eclipse with standard installer in folder:


Uniti don't see eclipse and terminals don't see Eclipse. If I type eclipse command with full path - it runs fine.

I suppose I need to set PATH environment variable for this reason. But where is the best way to do that? I found several places in Ubuntu where I can do that:


Which is right place?

How to make Unity see Eclipse when I push start button?


I have created symbolic link to eclipse binary:

 sudo ln ~/eclipse/cpp-oxygen/eclipse/eclipse eclipse

Now I have message during Eclipse start:

The Eclipse executable launcher was unable to locate its companion shared library.


To add it to your path you can simply create a link in /usr/bin

cd /usr/bin
sudo ln -s /home/vico/eclipse/cpp-oxygen/eclipse eclipse

To add it to the dash you need a .desktop file for eclipse:

gedit ~/.local/share/applications/eclipse.desktop

Paste this content to the file and edit Exec and Icon values:

[Desktop Entry]
Comment=Eclipse Integrated Development Environment
Icon=** probably/home/vico/eclipse/cpp-oxygen/eclipse/icon.xpm **
Exec= ** probably/home/vico/eclipse/eclipse **
|improve this answer|||||
  • Can I write just ~/eclipse/cpp-oxygen/eclipse eclipse instead /home/vico/eclipse/cpp-oxygen/eclipse eclipse ? – vico Dec 21 '17 at 16:18
  • Yes you can use that as well. ~/ is will just fet expanded to /home/YourUser. – Pabi Dec 22 '17 at 11:10
  • link does not help. More details in question body UPD – vico Dec 22 '17 at 12:20
  • eclipse.desktop not helped. Actually ~/.local/share/applications/ was totally empty and eclipse.desktop was the first file there – vico Dec 22 '17 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.