美文网首页
Execution failed for task ':path

Execution failed for task ':path

作者: 唯风吹过六月 | 来源:发表于2021-11-29 17:15 被阅读0次

    1.查找java安装位置

     /usr/libexec/java_home -V

    #Matching Java Virtual Machines (2):

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

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

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

    把/Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/lib文件夹下的tools.jar 复制给这个文件 /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib

    sudo cp /Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/lib/tools.jar                                                         /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib

    相关文章

      网友评论

          本文标题:Execution failed for task ':path

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