我正在尝试在Mac上使用以下方式安装java11
brew cask install java11
我得到一个错误:
Error: Cask java11 exists in multiple taps:
homebrew/cask-versions/java11
caskroom/versions/java11
您能帮忙解决此错误吗?
答案 0 :(得分:0)
以下命令解决了木桶冲突的问题,然后安装java11
:
brew untap homebrew/cask-versions
brew untap caskroom/versions
brew tap homebrew/cask-versions
brew cask install java11