Java OS X problem NEW!

I guess this command requires that you have some developer tools (Xcode) installed so here is what it does:
The original file:

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

<?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">
<plist version="1.0">
<dict>
    <key>JavaWebComponentVersionMinimum</key>
    <string>1.6.0_37-b06-435</string>
    <key>LastModification</key>
    <string>Thu, 31 Jan 2013 04:41:14 GMT</string>
    <key>PlugInBlacklist</key>
    <dict>
        <key>10</key>
        <dict>
            <key>com.macromedia.Flash Player.plugin</key>
            <dict>
                <key>MinimumPlugInBundleVersion</key>
                <string>11.3.300.271</string>
            </dict>
            <key>com.oracle.java.JavaAppletPlugin</key>
            <dict>
                <key>MinimumPlugInBundleVersion</key>
                <string>1.7.11.22</string>
            </dict>
        </dict>
    </dict>
    <key>Version</key>
    <integer>2028</integer>
</dict>
</plist>

The new file:

<?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">
<plist version="1.0">
<dict>
    <key>LastModification</key>
    <string>Thu, 31 Jan 2013 04:41:14 GMT</string>
    <key>PlugInBlacklist</key>
    <dict>
        <key>10</key>
        <dict>
            <key>com.macromedia.Flash Player.plugin</key>
            <dict>
                <key>MinimumPlugInBundleVersion</key>
                <string>11.3.300.271</string>
            </dict>
            <key>com.oracle.java.JavaAppletPlugin</key>
            <dict>
                <key>MinimumPlugInBundleVersion</key>
                <string>1.7.11.22</string>
            </dict>
        </dict>
    </dict>
    <key>Version</key>
    <integer>2028</integer>
</dict>
</plist>

So it strips out this part:

<key>JavaWebComponentVersionMinimum</key>
<string>1.6.0_37-b06-435</string>

Hope this helps.

the command line worked for me!

Still mystified how apple can tamper with the OS without my knowledge!!!

The command line has also worked on a mac of my customer!
Thanks a lot!

Thank you very much Robert!

It also works on our customers Macs.

For those of you that experience a crippled java installation or at least a continuing issue with jws (like I had) I finally solved it by doing the following (OS 10.8):

Recover Java Preferences app from Time Machine (or any other backup you have)
Install Java 1.7.
Manually install Java 1.6 from the .pkg file (or use an app like Pacifist) that you can download from the Apple website.

And voila, I can now run all my java versions again and jws works (for me miraculously) with Java 1.7 now.
Did not test with Servoy though but this is already much more than what I could use before :)

Works here, too.

If it is true what the Finalcut guys think what happend (“Apple seems to have patched java though the backdoor and that keeps FinalCutServer from launching the Webstart application”), it makes me think: isn’t it a bit scary that you use a computer where the manufacturer simply disables stuff without your knowledge and agreement by some calling home or however this is done? Not sure I want that.

I understand that if you want a more permanent solution (for the time being) you can prevent the plist file to be updated by unchecking the following checkbox.
[attachment=0]security&privacy_advanced.png[/attachment]
You go to System preferences > Security & Privacy > Advanced. Here you can uncheck the ‘Automatically update safe downloads list’.
This should prevent the XProtect.meta.plist to be updated again.

Hope this helps.

Thanks,

when was there last a safe download of java :lol:

Thank you very much Robert! Our Mac users are back in “production”.

Hi Patrick,

patrick:
If it is true what the Finalcut guys think what happend (“Apple seems to have patched java though the backdoor and that keeps FinalCutServer from launching the Webstart application”), it makes me think: isn’t it a bit scary that you use a computer where the manufacturer simply disables stuff without your knowledge and agreement by some calling home or however this is done? Not sure I want that.

Mac OS X is indeed calling home. XProtect automatically updates it’s definitions and with last nights update it told the OS that minimum version of Java has to be 1.6.0_37-b06-435. So I guess there is a Java update coming since at this time the current version is 1.6.0_37-b06-434.

And there is also an (maybe upcoming) issue with Java 7 on Mac Rumors: ‘Apple Once Again Blocks Java 7 Web Plug-in’ http://www.macrumors.com/2013/01/31/app … b-plug-in/

weird so they say you need to use 2 version of java 6 and java 7 that are just 1 build higher then what we have now (so micro version upgrade) (i think i was never able to do a micro upgrade from sun or oracle its those updates do _11 ->_12 not _11.build 8 → _11 build 9)

if they disable only the browser java plugin that doesn’t matter, but i don’t hope that they see java webstart as the same thing.
On windows if you just kill the Java Plugin for browsers that doesn’t matter for WebStart apps. Thats just for applets.

Hi Johan,

jcompagner:
weird so they say you need to use 2 version of java 6 and java 7 that are just 1 build higher then what we have now (so micro version upgrade) (i think i was never able to do a micro upgrade from sun or oracle its those updates do _11 ->_12 not _11.build 8 → _11 build 9)

I think it’s just to mark anything higher than version x, whatever that new version might be. Also this will not block any intermediate builds that developers might have.

jcompagner:
if they disable only the browser java plugin that doesn’t matter, but i don’t hope that they see java webstart as the same thing.
On windows if you just kill the Java Plugin for browsers that doesn’t matter for WebStart apps. Thats just for applets.

I believe it works the same way on Mac.

but that is quite a problem for java 7
u11 is just released and i think u12 is planned for June or something like that…

patrick:
it makes me think: isn’t it a bit scary that you use a computer where the manufacturer simply disables stuff without your knowledge and agreement by some calling home or however this is done? Not sure I want that.

Totally agree!! I’m SOOOO done with Apple!! :evil: :evil:

To Solve the problem

Its works for al client’s osx 10.6.8 10.7 - 10.7.4

Its orcale that did not make a good version of java 1.7 for OSX.
Apple make the mistake with this file

as root change the file /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.p list

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

<?xml version="1.0" encoding="UTF-8"?>

LastModification

Thu, 31 Jan 2013 04:41:14 GMT

PlugInBlacklist

10

com.macromedia.Flash Player.plugin

MinimumPlugInBundleVersion

11.3.300.271

Version

2028

Thanks for your awesome post, hovw !

Isn’t it scary that Apple waited so long before completely blocking Java?
I wonder if people at Oracle, or any one else for that matter, still know their way through the Java source code.

We are experiencing this issue on one of our sites which is using Servoy v4.x with a variety of macs accessing it from two offices

Can someone clearly explain how I can get all of those macs protected / back to normal when I have no access to those machines ??

Cheers

We have the following suggestion for Oracle’s new Java setup screen!

https://twitter.com/harjokompagnie/stat … 2340146178

Harjo:
We have the following suggestion for Oracle’s new Java setup screen!

Actually these 3 Billions probably don’t even contain Apple’s bulk, there’s a lot more Java-powered devices than that @see http://www.java.com/en/about/