Need to get JDK 1.6 on ML

xanis

Lifer
Sep 11, 2005
17,571
8
0
I'm starting to do some Android development at work and I'd like to be able to work from my laptop, but I have a bit of a problem. I'm currently running Java SE 1.7 under Mountain Lion, but I need to have 1.6 for everything to compile and build correctly in Eclipse/Aptana. I've searched high and low and I haven't been able to find a single good solution on how to do this; the general consensus seems to be, "You have to use what Apple gives you."

Does anyone know of a way to get 1.6 on ML? Any help would be awesome.
 

Kaido

Elite Member & Kitchen Overlord
Feb 14, 2004
51,478
7,221
136

xanis

Lifer
Sep 11, 2005
17,571
8
0
You can manually download Java 1.6 for Mountain Lion here:

http://support.apple.com/kb/DL1572

Although I'm not sure if the built-in "previous version installer" will uninstall a newer version, but you can give it a shot & then do it manually if it fails. Otherwise, if you have trouble downgrading, you can run OS X Lion in VMware Fusion v5:

http://www.vmware.com/support/product-support/fusion/faq/requirements.html

That did the trick, thanks! You rock.

EDIT: Wound up creating a little article on the company Wiki so we don't wind up spending hours getting this set up again. :p
 
Last edited:

Kaido

Elite Member & Kitchen Overlord
Feb 14, 2004
51,478
7,221
136
That did the trick, thanks! You rock.

EDIT: Wound up creating a little article on the company Wiki so we don't wind up spending hours getting this set up again. :p

Did it auto-uninstall the newer version properly then? If so, props to Java...most apps freak out if you downgrade via installer!
 

xanis

Lifer
Sep 11, 2005
17,571
8
0
Did it auto-uninstall the newer version properly then? If so, props to Java...most apps freak out if you downgrade via installer!

Not sure. I actually removed Java manually via the terminal before I installed 1.6.