1. 程式人生 > >java jdk路徑

java jdk路徑

1.檢視java路徑詳細資訊:

/usr/libexec/java_home -V

2.java預設路徑

  • jdk1.6:
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

     

  • jdk1.7/1.8:
    /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home