Ading Java aliases based on ti at http://javapapo.blogspot.co.uk/2013/02/multiple-java-jdks-on-your-macosx.html