Where is Oracle's (Sun's) JDK/JRE installed on Mac OS X 10.8 Mountain Lion?

Where does Oracle (Sun) install their JDK/JRE on Mac OS X 10.8 Mountain Lion?


/Library/Java/JavaVirtualMachines/ according to the Mac JDK Uninstall Docs.


The Oracle Java SE downloads at: http://www.oracle.com/technetwork/java/javase/overview/index.html

install here on Maverick at least:

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

this JRE is entirely separate from the ones that Apple has installed, which are under /System/Library/Frameworks/JavaVM.framework/Versions/ as another answer mentioned.


If you setting the JRE path in something like Eclipse you'll need to point to the /home directory i.e

/Library/Java/JavaVirtualMachines/<Replace with version>/Contents/Home