My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
HowToInstall  
How to install OpenJDK 7 on your Mac running OS X 10.7.x (aka OS X Lion)
OpenJDK, OSX, OSXLion, OSX10.7, Java, JDK, Developer, Programming
Updated Nov 19, 2011 by spaque...@gmail.com

Prerequisite

You may have to install Apple Java JDK 1.6 on your Mac. As suggested in the following articles there are 2 options to have it installed on your Mac running OS X Lion. As Lion is no more delivers with pre installed Java JDK follow the way you find the easiest to you:

  1. Install Java JDK Developer Preview (you need an Apple connect ID) Installing Java Developer Preview on OS X Lion
  2. Install Java 1.6 through Apple Software update Java on OS X 10.7 aka Lion

Note: This version is for Intel Mac running OS X 10.7.x (aka OS X Lion) only and is not compatible with previous version of OS X.

Installation

Download latest build from our site, open the dmg and start installing the package it contains. Once done you should see a JDK 1.7.0 installed on your system when launching Java Preference

Download latest dmg from this site Download latest package

Uninstalling

We are working on a script to uninstall OpenJDK 7 from OS X Lion. This will be added to future builds. For now this JDK is installed in /Library/Java/JavaVirtualMachines directory.

Just issue the following command from Terminal (Applications > Utilities > Terminal.app) :

sudo rm -rf /Library/Java/JavaVirtualMachines/1.7.0_build-version.jdk

How to install screencast

Powered by Google Project Hosting