Mac OS X 10.6.7 Java Path Current JDK confusing

前端 未结 5 1276
臣服心动
臣服心动 2020-11-29 02:05

I have trouble understanding (actual paths vs links) for multiple java versions on my Mac OSX. Normally in windows if I have multiple versions installed in my machine, I can

5条回答
  •  独厮守ぢ
    2020-11-29 02:25

    For different types of JDKs or installations, you will have different paths.

    On Mac OS X Mavericks, the path I found as following:

    1) Built-in JRE default:

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

    2) JDKs downloaded from Apple:

     /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/
    

    3) JDKs downloaded from Oracle:

    /Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home
    

提交回复
热议问题