美文网首页
macOS Big Sur 启动 MAT 报 Failed to

macOS Big Sur 启动 MAT 报 Failed to

作者: AJMX | 来源:发表于2021-05-08 14:53 被阅读0次

    解决方法:

    /usr/libexec/java_home -V

    Matching Java Virtual Machines (2):

        1.8.144.01 (x86_64) "Oracle Corporation" - "Java" /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home

        1.8.0_144 (x86_64) "Oracle Corporation" - "Java SE 8"  /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home

    /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home

    vim /Applications/mat.app/Contents/Eclipse/MemoryAnalyzer.ini ,新增 vm 配置

    -vm

    /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java

    重启 MAT,搞定。

    相关文章

      网友评论

          本文标题:macOS Big Sur 启动 MAT 报 Failed to

          本文链接:https://www.haomeiwen.com/subject/uxepqktx.html