美文网首页
Mac javah Unable to locate an ex

Mac javah Unable to locate an ex

作者: lihao_李浩 | 来源:发表于2020-06-08 22:26 被阅读0次
    image.png

    $ javah
    Unable to locate an executable at "/Users/lihao/install_home/jdk-11.0.5.jdk/Contents/Home/bin/javah"

    编辑:

    vim ~/.bash_profile
    

    添加一行:

    export JAVA_HOME=/Library/Java/Home
    

    保存后执行刷新命令

    source ~/.bash_profile
    
    image.png

    相关文章

      网友评论

          本文标题:Mac javah Unable to locate an ex

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