简体   繁体   English

找不到Eclim命令

[英]Eclim command not found

I already tried looking for my question but I didn't find anything on it. 我已经尝试寻找我的问题,但没有发现任何问题。 It went ahead and installed eclim so I could do Java development in Vim on Mac. 它继续进行并安装了eclim,因此我可以在Mac上的Vim中进行Java开发。 Everything seems to work for the most part. 一切似乎都可以正常工作。 I ran :PingEclim and :EclimValidate and there are no problems. 我运行了:PingEclim和:EclimValidate,没有任何问题。 All of the autocomplete seems to work. 所有自动完成功能似乎都可以正常工作。 My only question is that I see on the eclim website them using an eclim or eclimd command. 我唯一的问题是,我在eclim网站上使用eclim或eclimd命令看到它们。 However, I tried running this in the terminal and it can't find this command. 但是,我尝试在终端中运行此命令,但找不到此命令。 Am I missing something for the installation or is this for something else? 我在安装中缺少什么吗?还是其他? When I want to use eclim, am I supposed to write out /Application/Eclipse.app/.../eclimd every time? 当我想使用eclim时,是否应该每次都写出/Application/Eclipse.app/.../eclimd?

Thanks 谢谢

Given the the OS is Unix based, 鉴于该操作系统基于Unix,

locate eclimd 爬上

should find it, or even better 应该找到它,甚至更好

locate -b '\\eclimd' 找到-b'\\ eclimd'

Once you have the path, create a symbolic link in you PATH 有了路径后,在PATH中创建一个符号链接

for example, 例如,

cd ~/bin cd〜/ bin

ln -sf /some/long/path/to/eclimd ln -sf / some / long / path / to / eclimd

If ~/bin is in your PATH environment variable then you can run eclimd from anywhere. 如果〜/ bin在PATH环境变量中,则可以从任何地方运行eclimd。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM