我在Ubuntu上,我正在尝试从eclipse 3.5升级到eclipse 3.7。 我想保留3.5版本的eclipse,只需使用3.7。
当我在命令行输入“eclipse”时,会启动旧版本的eclipse。 “eclipse”命令似乎没有在我的PATH中定义。 Linux如何创建从此命令到eclipse安装的映射? 我想改变映射,以便它启动3.7。
wsl:~$ cat ~/.bashrc | egrep 'eclpse|ECLIPSE|Eclipse'wsl:~$ echo $PATH | egrep 'eclipse|ECLIPSE|Eclipse'
wsl:~$
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:~$
最满意答案
使用which eclipse来显示可执行文件的完整路径; 该目录必须在您的PATH 。
Use which eclipse to display the full path of the executable; that directory must be in your PATH.
更多推荐
发布评论