Clojure安装错误:请删除这些路径并运行"brew update"



我输入

brew install clojure

我得到了下面的错误。我需要做什么?我不知道如何删除这些路径。很抱歉完全新手的问题。

Error: Could not link:
/usr/local/share/man/man1/brew.1
Please delete these paths and run `brew update`.
Error: Could not link:
/usr/local/share/doc/homebrew
Please delete these paths and run `brew update`.
clojure: Java 1.8+ is required to install this formula.
JavaRequirement unsatisfied!
You can install with Homebrew-Cask:
brew cask install java
You can download from:
https://www.oracle.com/technetwork/java/javase/downloads/index.html
Error: An unsatisfied requirement failed this build.

我不知道路径,但正如您在错误消息中看到的那样,您显然缺少Java(Clojure所依赖的Java(。按照建议使用brew cask install java安装它,然后尝试运行brew install clojure

最新更新