Javablog » Apple OS X Leopard doesn’t have Java 6

Javablog » Apple OS X Leopard doesn’t have Java 6
And worse yet… if you installed the Java 6 beta release in Apple OS X Tiger, then when you upgrade Java won’t work at all! Read on if this has affected you…

The solution I used was to completely move the following folders to a backup location

/Library/Java
/Applications/Utilities/Java
/System/Library/Frameworks/JavaVM.framework
/System/Library/Java
/System/Library/CoreServices/Jar\ Launcher.app
/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework
/System/Library/Frameworks/JavaEmbedding.framework
/System/Library/CFMSupport/StubLibraries/JavaEmbeddingLib

and all your Java 6 installation receipts from /Library/Receipts/.

Then re-install Java from the Leopard DVD with the commands

open /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages/Java.pkg
open /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages/JavaTools.pkg

It seems that unless the aforementioned directories/files are moved… the Leopard installer will not install any JavaVM binaries. After this, you probably want to install the “Optional” package XCode as I’m sure it has some parts of the JDK that aren’t installed by default.

That said… the Java 5 implementation is a lot snapper than it used to be! The Java 5 documentation can be downloaded from the Apple Developer Connection when you have signed up.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s