Deploying Java 7 & Disabling Update Checking

gskibum
Contributor III

Looking through a few of the discussions here it was easy to get a Java 7 policy working. Except I've run into a little snag with getting the disabled update checking preference to stick.

Using Composer I capture the following:
1. Install Java 7.
2. Open the Java Control Panel.
3. On the Update tab I disable the automatic update checking.
4. When I apply the change I am prompted for administrator credentials, so I enter those credentials.
5. Clean up the capture (just the Recent Items preference in /private/*
6. Build the DMG

However when I go right back into the Java Control Panel I discover the disabled setting has reverted back to on.

Since I am prompted for an admin credential upon applying the change I would expect to find the plist file in Macintosh HD/Library/Preferences. But I don't. Instead I find the file "com.oracle.javadeployment.plist" in ~/Library/Preferences. Inside I find the value:

<dict>
    <key>/com/oracle/javadeployment/</key>
    <dict>
        <key>deployment.macosx.check.update</key>
        <string>false</string>
        <key>deployment.version</key>
        <string>7.21</string>
        <key>install.disable.sponsor.offers</key>
        <string>false</string>
    </dict>
</dict>

So it seems the preference is set, but for some reason it doesn't stick when I open the Java Control Panel.

So this doesn't seem to be a problem at all with Casper. Instead it's just a matter of getting this setting to stick.

Has anyone successfully pulled off a Java 7 policy with disabled update checking?

Thanks!

1 ACCEPTED SOLUTION
4 REPLIES 4

sean
Valued Contributor

gskibum
Contributor III

Awesome guys. I will have a close look at your posts first chance I get.

gskibum
Contributor III

Works great!