Import: Apple's latest update in October 2012 resulted in significant Java changes to Mountain Lion (OS X 10.8.2), one of the changes being the removal of Java Preferences.
This question asks how to configure Java Java 7 to Java by default on these systems that previously had Apple Java-6 vesion.
One of the requirements is to change the standard java for command line and 7.
Suppose the user has already installed the Java 7 SDK from Oracle, but java -version stil returns java 6.
sorin source share