Skip to main content
Solved

Deploying Java 7 & Disabling Update Checking


gskibum
Forum|alt.badge.img+13
  • Valued Contributor
  • 288 replies

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!

Best answer by Kumarasinghe

https://jamfnation.jamfsoftware.com/discussion.html?id=6489#responseChild45959

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+13
  • Contributor
  • 400 replies
  • Answer
  • October 2, 2014

Forum|alt.badge.img+12
  • Contributor
  • 529 replies
  • October 2, 2014

gskibum
Forum|alt.badge.img+13
  • Author
  • Valued Contributor
  • 288 replies
  • October 2, 2014

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


gskibum
Forum|alt.badge.img+13
  • Author
  • Valued Contributor
  • 288 replies
  • October 9, 2014

Works great!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings