Note: Java 1.6 for Leopard is 64 bit only, but for Snow Leopard it is available for both 32 and 64 bit.
Since August 2012 updates for Java (and especially Java Runtime Environment, which is what you actually need) must now be downloaded direct from Oracle:
(which is for Java 7)
Further information here:
and their FAQ’s:
The recently discovered zero-day flaw in Java 7 is so serious that the U.S. Department of Homeland Security has warned users to disable or uninstall it, and Apple has disabled the Java 7 plugin on Macs through its OS X anti-malware system, in order to protect users from a potentially serious security issue.
You should disable Java (if not already done) until either the US Department of Homeland Security, or Oracle, declare it safe and Apple restore the facility. Oracle have released an update said to fix the security flaw, available from here:
However, if you need the Jave 6 JRE and plug-in, MadMAC0 has posted at
Apple has also posted (Oct 22/12) the approved solution for restoring the Java 6 plug-in:
That Apple article to reneable Java SE 6 shows Last Modified: Dec 18, 2012. The Xprotect updates which disabled the JRE in Safari are dated beginning 1/11/13. Unless someone has any direct experience using those steps successfully to reenable, I would assume the XProtect update overrides that and reenabling according to that article will not work.
The latest XProtect update, just in, is showing minimum Java version at 1.7.11_22
Thanks to everyone who has responded but I am no better off than I was when I started. The Java JRE7 only seems to be available for Snow Leopard Version 10.7.3. Also re-enabling the applet plug-in didn't work either. I am not a Mac expert as you can probably tell so a link to a download or solution would be much appreciated rather than having to read articles that I don't understand. Thanks again...
I recently got off the phone with a senior AppleCare advisor about this exact issue. I work at a school that uses a program that runs in the JRE on Snow Leopard. This program is now broken at three different schools. They say either upgrade to Lion/Mountain Lion or wait for Oracle to update Java for Snow Leopard (don't hold your breath, Apple ported the existing version for 10.6 themselves). So thank you for the solution of editing the XProtect metadata plist. I was able to get the program running for now.
You need to edit the Xprotect.meta.plist located here
.plist is one word
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<string>Thu, 31 Jan 2013 04:41:14 GMT</string>
to whatever version you are using.
But, if this is Snow Leopard, I would strongly suggest getting at least 1.6.0_37, which is installed with Java Update 10.6 Update 11. This is at least the latest version available from Apple. There is a more recent update from Oracle, but for Snow Leopard it needs to be distributed by Apple, and it may never be.
And be extremely careful where you allow Java to run. Your decision; you're on your own.
My machines are behind a firewall and are only used by Pre-Kindergarten and Kindergarten students to run a JRE Applet called Waterford Early Learning. There is no personal information on these machines and they won't be visiting any malicious sites that can take advantage of the Java exploits that Apple's actions with XProtect are supposed to protect against. For those that don't already know XProtect is part of the OS that can silently download updates to protect against malware and trojans.
I see as I'm writing this that WZZZ has posted the specifics I was just about to post. I just edited that .plist file and changed <string>126.96.36.199</string> to <string>1.6.0_37-b06-434</string> because that is the version that Java Preferences says that I have installed.
Make sure you edit the plist as root so the owner/group stays as root/wheel. You can do this in the terminal using sudo pico or by changing the owner and group after editing it in a GUI text editor. I was able to push the modified file out with Remote Desktop after changing the string and now all my machines are working. I also locked the file hoping that it will prevent XProtect from just breaking it again soon.
Don't do any of the above steps unless you are comfortable doing so and make sure you know the risks involved.
xeo14 you can try this, again, at your own risk. This method is a little easier:
Go to the Utilities folder inside the Applications folder and launch the Terminal application
sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta. plist
Note that there's just a space between TextEdit and /System and you will need to know the root password to do this.
This will open the file in TextEdit which you can then just save after making the changes and it will have the correct permissions. Good luck
Easily done either with the editor pico nano (must enter sudo pico in Terminal) or with TextEdit run with superuser privileges.
Enter this command in Terminal, which will open TextEdit with the elevated privileges you need.
Give your admin password when prompted. It won't appear anywhere when you type it in. Hit return again.
Make the change--just that one line--and then save it.
EDIT: If you use Jon's method, there is a small typo that will prevent it from working. For some reason the Jive software breaks up .meta.plist into .meta. plist. Make sure it's .meta.plist no spaces.
Message was edited by: WZZZ