【问题标题】:brew doctor returns not a valid keg (Trying to uninstall liberica-jdk-8-full installed via homebrew)brew doctor 返回无效的小桶(尝试卸载通过自制软件安装的 liberica-jdk-8-full)
【发布时间】:2021-02-11 11:36:48
【问题描述】:

我尝试使用本指南安装尸检 https://slo-sleuth.github.io/tools/InstallingAutopsyOnMacOS.html 我无法让它工作。所以我决定卸载并找到其他可以使用的东西。

请告知我如何卸载 liberica-jdk-8-full?我已经运行了 brew doctor ,下面是我得到的错误。

Error: /Library/Java/JavaVirtualMachines/liberica-jdk-8-full.jdk/Contents/Home is not a valid keg

【问题讨论】:

  • 我也有同样的问题,liberica-jdk-8-full 也是如此。 Opened an issue 在 homebrew-liberica repo 上。

标签: homebrew


【解决方案1】:

好的,我能够解决我的问题!! (related s/o link)

  1. /usr/local/Caskroom 中删除liberica-jdk8-full
  2. /Library/Java/JavaVirtualMachines 中删除liberica-jdk-8-full.jdk
  3. 运行brew cleanup 删除损坏的符号链接/usr/local/opt/openjdk

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-04-30
    • 1970-01-01
    • 2014-02-23
    • 2015-01-11
    • 1970-01-01
    • 2013-11-01
    • 1970-01-01
    • 2019-02-09
    相关资源
    最近更新 更多