This morning I decided to upgrade to the Macbook to the latest and greatest Java version from Oracle.
I downloaded jdk-8u25-macosx-x64.dmg from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html.
After the installation (which doesn’t mention any paths) it links to this: http://docs.oracle.com/javase/8/
(Double check to make sure I really installed a JDK and not just the runtime environment? The filename looks right…)
So, where is it?
$ java -version still reports 1.6, but that’s because I have
JAVA_HOME set in .bash_profile and on the PATH.
But the new one isn’t there under Versions:
Ah ha! The Uninstall instructions on …/guides/install/mac_jdk.html tell us to delete
and there it is:
After looking around a bit, our new line for
and it works!
(Remember to open a new terminal window or otherwise reload ~/.bash_profile after making changes.)