Java 6 Download Mac Lion

  1. Java 6 Se Download Mac
  2. Java Mac Os 10.7.5
Java 6 Download Mac Lion

For another project, I found myself needing to install Java 6 (a.k.a. 1.6) on Mac OS X Tiger and Leopard, both Intel and PowerPC.

This site requires JavaScript to be enabled.

  1. The answer there is not complete. Yes, you can build to an earlier target, but if your source contains Java 7 API's, it will still not run on Java 6. I am really asking for a new Java 6 installation download for OSX 7.5 – Victor Grazi Mar 31 '13 at 13:50.
  2. OS X 10.8 removed Java 6 and the Java Utilities switcher and made Java 7 the default jre making it hard for engineers like me who work exclusively on Java 6. How do I get back my Java 6? Note: I tried Google but many of the supposed solutions are outdated.

If you were using Macs back then, you may recall that Apple’s Java 6 was only officially released for Leopard on 64-bit Intel, and didn’t become the default JVM until Snow Leopard (at which point a 32-bit Intel version was also made available). You may not recall that several developer previews for Tiger were released, the last of which was JavaSE6dp9.dmg, which supplied a PowerPC and 32-bit Intel JVM. With some hackery, it can still be installed on Tiger or Leopard.

Leopard on 64-bit Intel

As long as your CPU is a Core 2 Duo or later, all that’s required is a quick preference change. Since Java 1.5 is still the default on Leopard, open “Java Preferences” in /Applications/Utilities and reorder the list of JVMs so that “Java SE 6” is first in the list. The change takes effect immediately, and can be confirmed on the command line with java -version.

Leopard on PowerPC or 32-bit Intel

As the developer preview installer won’t work properly on Leopard, instead we’ll extract the JVM and install it by hand. First, move aside the Java 6 for 64-bit Intel that’s already installed, but non-functional.

Mac

(Ah, remember back when all you needed was an admin password to muck about in the system files with wild abandon? Good times.)

Next, use Pacifist to extract from the installer package the path /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0 and copy it to the same location on disk. (You can also burrow into the package using right-click and “Show Package Contents”, then double-click to extract “Archive.pax.gz” and find said path in the newly-created “Archive” folder.)

You’ll then create a new “Current” symlink pointing at the folder you just copied.

Now, java -version will show that Java 6 is active.

Java 6 Se Download Mac

Tiger on PowerPC or Intel

If you run the installer on a fully updated Tiger system, it’ll inform you that “This volume contains a newer version of Java.” So, first move aside the files it’s checking.

Java Mac Os 10.7.5

After running the installer, open the new “Java Preferences” in /Applications/Utilities/Java/Java SE 6. Set “Use version” to “Java SE 6” and reorder the list in “Java Application Runtime Settings” so “Java SE 6” is first. After you click “Save” and quit, confirm that Java 6 is active by running java -version.