赞
踩
根据网上博客,命令行键入:
brew cast install adoptopenjdk8
结果报错:
Error: `brew cask` is no longer a `brew` command. Use `brew <command> --cask` instead.
意思是说原命令已经更新,采用新的命令形式替代:
brew install adoptopenjdk8 --cast
error: could not lock config file .git/config: Permission denied
error: could not lock config file .git/config: Permission denied
fatal: not in a git directory
Warning: No remote 'origin' in /opt/homebrew/Library/Taps/homebrew/homebrew-services, skipping update!
==> Caveats
Temurin is the official successor to this software:
brew install --cask temurin8
adoptopenjdk8 has been officially discontinued upstream.
It may stop working correctly (or at all) in recent versions of macOS.
==> Downloading https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/downl
==> Downloading from https://objects.githubusercontent.com/github-production-rel
######################################################################## 100.0%
==> Installing Cask adoptopenjdk8
==> Running installer for adoptopenjdk8; your password may be necessary.
Package installers may write to any location; options such as `--appdir` are ignored.
Password:
installer: Package name is AdoptOpenJDK
installer: Installing at base path /
installer: The install was successful.
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/475392
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。