在Linux中添加带有替代方案的应用程序时如何解决“无此类文件或目录”的问题


9

运行命令时

sudo update-alternatives --install /usr/bin/jar jar /usr/java/latest/bin/jar 20000

在Linux中,我得到了错误

failed to read link /usr/bin/jar: No such file or directory

我怎样才能解决这个问题?

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.