Skip to content

Instantly share code, notes, and snippets.

@dannyduc
dannyduc / install_jdk5_lion.sh
Created September 15, 2012 15:10 — forked from bric3/install_jdk5_post_lion.sh
Automate the install of JDK 5 on Lion and Mountain Lion
#!/bin/bash
# This script is edited by Brice Dutheil
# See there in french http://blog.arkey.fr/2012/07/30/script-pour-installer-le-jdk-5-sur-macosx-lion/
# Translate button is broken for now, please use Google to translate this website.
#
# 2012/08/25 This script didn't behave correctly when ran on 10.8.1
# Added recommendation to always run this script after updates such as Java, XCode, OSX, etc.
#
# 2O12/07/29 Added Mountain Lion support => Choose the 64bit JVM !