Note that there are some explanatory texts on larger screens.

plurals
  1. POUnderstanding Oracle's Java on Mac
    primarykey
    data
    text
    <p>I've been using Java on OS X for many, many years and recently when Apple stopped including Java by default I let the OS go and install it for me (Apple's variety, of course).</p> <p>So now I'm using OS X 10.8 and I need to install Java 7 so I just got Oracle's Update 15 in DMG form and ran the installer. It updated my /usr/bin/java (and related files) to point here:</p> <pre><code>/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java </code></pre> <p>Tracing this back to '/System/Library/Frameworks/JavaVM.framework/Versions' everything either points to 'Current' or 'CurrentJDK', the former being a link to 'A' (which is Oracle's Java 7, from what I can tell, not sure why it is 'A') and the latter being a link to Apple's Java 6 in '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk'.</p> <p>Now this is all really confusing but this isn't even my question yet. It appears there is a Java 7 installed here:</p> <pre><code>/System/Library/Frameworks/JavaVM.framework/Versions/A </code></pre> <p>But there is also a Java 7 installed here:</p> <pre><code>/Library/Java/JavaVirtualMachines/jdk1.7.0_15.jdk </code></pre> <p>Finding 'java' in both and printing out the version yields the same version and build (java version "1.7.0_15"), however, when hashing the files they are different.</p> <p>So does this mean Oracle installed Java 7 in two different places? If so, why? Which am I supposed to use? And why do some things still point to Java 6 (CurrentJDK). </p> <p>I've looked on Oracle's website but nothing there clears anything up. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload