Reputation: 89
I am on Ubuntu and I am trying to upgrade from eclipse 3.5 to eclipse 3.7. I want to preserve the 3.5 version of eclipse and just work out of 3.7.
When I type "eclipse" on the command line, the old version of eclipse is launched. The "eclipse" command doesn't appear to be defined in my PATH. How does Linux create a mapping from this command to the eclipse installation? I would like to change the mapping so that it launches 3.7 instead.
wsl:~$ cat ~/.bashrc | egrep 'eclpse|ECLIPSE|Eclipse'
wsl:~$ echo $PATH | egrep 'eclipse|ECLIPSE|Eclipse'
wsl:~$
Upvotes: 1
Views: 132
Reputation: 11292
Use which eclipse
to display the full path of the executable; that directory must be in your PATH
.
Upvotes: 3