Using java 1.6 on OSX

Posted by Jens Jäger on February 06, 2013

Since the Java support for OSX has moved from Apple to Oracle. The old Java version are no longer shown in the oracle control panel:

But there is a command line tool for selecting the java version:

You can check if you have a specific java version installed with this command:

If 1.6 isn’t installed on your machine you can get it from here.

To use Java 1.6 in command line context add this line to your ~/.bash_profile:


Use this link to trackback from your own site.


Leave a response


Information about Data protection