Java OS X – setting default version

In OS X it is fairly easy to set default Java version. Simply start following application

open /Applications/Utilities/Java\

Note! This is no longer valid for OS X 10.7 and Oracle’s Java version. If you have Java 1.7 installed go to:

System Preferences -> Other -> Java

You can also determine current version’s home location by calling