Mac javah Unable to locate an ex
2020-06-08 本文已影响0人
lihao_李浩

$ 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
