Thursday, September 10, 2015

Upgrading to the Java 8 SDK on a Mac

Things seem to be getting simpler...

Download and install the dmg from Oracle

  • http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html


Read the post installation docs

  • http://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jdk.html#CHDBADCG


Update the system to use Java 8
$ /usr/libexec/java_home -v 1.8.0_60 --exec javac -version
javac 1.8.0_60

$ which java

/usr/bin/java