用命令查询MAC-JDK默认安装路径-JAVA路径
查询jdk的安装路径很简单,只需要打开终端,执行:
/usr/libexec/java_home -V
在我的电脑上显示如下:
landsnail:~ landsnail$ /usr/libexec/java_home -V
Matching Java Virtual Machines (1):
1.8.0_05, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home
/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home
当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »