You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mac Os X 10.6.8 Java update

Hi,


Recently I cannot run Java applications for my work. Where it worked before, it doesn't anymore.

It shows the message inactive Plug-in. When I click on it Mac start searching for updates but says everything is up-to-date, so that doesn't resolve anything.

I enabled all the options for Java in security preference in Safari. Also enabled applet Plug-in and Web start applications in Java preferences.

Mac OS X (10.6.8)

Posted on Jan 31, 2013 3:14 AM

Reply
72 replies

Jan 31, 2013 4:41 AM in response to HappyBlackJack

We had the same Problem in our Enterprise. Worldwide Macs weren't able to start any java applications from 10.6.8 to 10.8.x


I found, that in

/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.p list

there is a "JavaWebComponentVersionMinimum" thats responsible for that behavior.


After running a

sudo /usr/libexec/PlistBuddy -c "Delete :JavaWebComponentVersionMinimum" /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta. plist


in terminal all java apps are working again.


Regards, Shirkan

Jan 31, 2013 5:41 AM in response to HappyBlackJack

Worked for me when many, many other attempts did not. Java changed this morning without notice for me, but after running the script, all is well.


If you get a message saying "invalid arguments" after cutting and pasting that command line, try removing the space before "plist", as there shouldn't be a space there. Here it is with the space as above:


/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta. plist


Should be this without the space:

/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.p list


Thanks very much.

Jan 31, 2013 9:34 AM in response to HappyBlackJack

The recently released Java 7 Update 11 has been blocked by Apple through its XProtect anti-malware feature in OS X.


Oracle issued the latest update to Java earlier this month to fix a serious zero-day security flaw. The threat was so serious that the U.S. Department of Homeland Security had recommended that all Java 7 users disable or uninstall the software until a patch was issued.


Apple took action on its own and quietly disabled the plugin through its OS X anti-malware system. And as noted by MacGeneration on Thursday, Apple has again updated its OS X XProtect list, this time to block Java 7 Update 11.


Because Oracle has yet to issue a newer version of Java that addresses any outstanding issues, Mac users are prevented from running Java on their system.


Over the last few years, Apple has moved to gradually remove Java from OS X. The Mac maker dropped the Java runtime from the default installation for OS X 10.7 Lion when the operating system update launched in 2010. Java vulnerabilities have been a common exploit used by malicious hackers looking to exploit the OS X platform.


Most notably, the "Flashback" trojan that spread last year was said to have infected as many as 600,000 Macs worldwide at its peak. Apple addressed the issue by releasing a removal tool specifically tailored for the malware, and also disabled the Java runtime in its Safari web browser starting with version 5.1.7.



Javascript should not be disabled (it has nothing to do with Java).

Jan 31, 2013 9:56 AM in response to HappyBlackJack

Sorry Guys and Girls, I think. that was only a temp solution 😟


After 24hours and restarting the client, the obove mentioned plist will be downloaded automaticly from apple again.


Apple blocks now every (at this time currently official available) Java version.

The latest official java version is 1.6.0_37-b06-434 for the web-plugin and 1.7.11.21 for the runtime, that you could get from Orcacle: http://www.java.com/en/download/mac_download.jsp


But Apple blocks all lower versions then 1.6.0_37-b06-435 for Webplugin and 1.7.11.22 for rumtimes via their XProtect Anti-Malware System, whats came ith 10.6.


Currently we have to workaround that, every 24hours after a reboot of the clients.

In our Enterprise, we run a management platform, where i can configure logon-scripts to change the versions in the plist back to the current available, but in fact that means, Orcle or Apple have to release a Java-Update. And thats very quickly.

We are in the position that we need java to run certain applications from 3rd party companies for our work in the company. This is the only way to get our users ready for work. Hard decision Apple...


At the moment, no Mac-Computer worldwide is able to run any Java-Applicationwithout the temporary workaround before a newer Java Version will be released and installed.


There is a newer Java Version out there, but its for developers only, and i have no developer account...


Regards, Shirkan

Jan 31, 2013 11:04 AM in response to clacopo

Well rather than delete the key you could set it to require the last Java release 37 that Apple put out, otherwise when you delete it you are allowing any Java version to run.


This will set it to the last version Apple put out, Java SE 6 release 37:

sudo /usr/libexec/PlistBuddy -c "set :JavaWebComponentVersionMinimum 1.6.0_37-b06-434" /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta. plist


The version number I use is referenced from:

http://derflounder.wordpress.com/2013/01/31/java-blocked-in-safari-on-10-6-x-10- 8-x/

Jan 31, 2013 11:13 AM in response to HappyBlackJack

I've posted this elsewhere, isn;t the best but is fairly fast and has been proven in the wild: For 10.6.8 users, the only 'fix' I have that works so far: Deleting the XProtect source file that lists the blacklisted Java (supposedly it can also be edited in Terminal).

Using Finder, go to System - Library - CoreServices and righ-click on CoreTypes.bundle. Choose Show Contents and then go into Contents, then the Resources folder in the new window that opens. Scrolling to the end will show Xprotect.meta.plist in the list, I deleted that file and then was able to run.

Upon a reboot this file will get re-built, however, so it isn't permanent fix. Going into System Preferences and Security, clicking the lock icon to change settings (enter password) and unchecking the 'Automatically update safe downloads list' prevents the file from getting rebuilt. This isn't the safest bet for people who are not the safest of computer users, but should be OK short term. Only Java and Flash are listed in the file, really, so not too big an issue since Java 6 update 37 should be the only Java installed. Hopefully Oracle and Apple get this resolved quickly for 10.8, but I suspect that 10.6 and Java may never be friends again without killing the xprotect.meta.plist.

Mac Os X 10.6.8 Java update

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.