Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 ubuntu 终端中为 Eclipse 设置环境并运行此命令。./setenv.sh 但它显示错误。
重击:。./setenv.sh:没有这样的文件或目录
应该如何解决?
错误只是说,在您的当前目录中,没有文件setenv.sh.
setenv.sh.
如果您的PATH环境变量中有脚本的位置,只需调用setenv.sh,不带前导./,因为它的含义是“在当前目录中”。
PATH
setenv.sh
./
否则,请setenv.sh通过定位find ~ -name setenv.sh,并确保您在正确的文件夹中,然后再致电./setenv.sh
find ~ -name setenv.sh
./setenv.sh