Skip to main content
Solved

Disable automatic Java Update


Forum|alt.badge.img+9

Hi.
We have Java 7 Update 13/now 15 in our environment.
We are not able to disable the automatic update function of Java.

We tried to use the com.oracle.javadeloyment.plist that we have modified before and filled the user template with it.
But it's still want to update (checkbox marked).

Thanks for further advice.

Cheers

Best answer by jarednichols

Have a look at this. Worked a treat for me.

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

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

12 replies

Forum|alt.badge.img+5
  • Contributor
  • 45 replies
  • February 21, 2013

HI Maik,
I have worked directly with JAMF support on this, they were unable to resolve the issue and ultimately closed the ticket without a solution, I do know that they were trying to solve it with scripting without success. I wish I had better news but for now it looks like there is no way to disable the auto update checkbox.


Forum|alt.badge.img+24
  • Valued Contributor
  • 1892 replies
  • Answer
  • February 21, 2013

Have a look at this. Worked a treat for me.

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


Forum|alt.badge.img+18
  • Valued Contributor
  • 1007 replies
  • February 21, 2013

i would think that either removing /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
or defaults write /Library/LaunchAgents/com.oracle.java.Java-Updater.plist Disabled -bool yes

would do the trick.


Forum|alt.badge.img+9
  • Valued Contributor
  • 187 replies
  • February 21, 2013

Just tried the script Jared mentioned, confirmed working...
(and can confirm that thte plist method does not work)


Forum|alt.badge.img+5
  • Contributor
  • 45 replies
  • February 21, 2013

Thank you Jared,
This is an awesome find!


Forum|alt.badge.img+9
  • Author
  • Valued Contributor
  • 99 replies
  • February 22, 2013

Thanks to all.

I can confirm that the script works like charm!!!
Thanks a mill.

plist ist not working :-(. But thanks.


Chris_Hafner
Forum|alt.badge.img+23
  • Jamf Heroes
  • 1716 replies
  • February 25, 2013

Also, working great for me on v7


Forum|alt.badge.img+8

fyi~ I've updated the script on the linked thread to also suppress the update prompt when you open a Java app while using an older version of Java. Previously, the script was unchecking the "Check for Updates" option and removing the Launch Agent that checks for updates periodically. However, if you were still on an older version of the plugin, it would prompt to update when you opened a Java app. If you've been using the previous version of the script, I'd suggest grabbing this updated version and testing, then using that.

Let me know if/how it can be improved.


Forum|alt.badge.img+9
  • New Contributor
  • 4 replies
  • March 21, 2013

Script worked like a charm for my needs Andrew! Thanks!


Forum|alt.badge.img+9
  • New Contributor
  • 4 replies
  • March 21, 2013

Script worked like a charm for my needs Andrew! Thanks!


Forum|alt.badge.img+9
  • New Contributor
  • 4 replies
  • March 21, 2013

Script worked like a charm for my needs Andrew! Thanks!


Forum|alt.badge.img+7
  • Contributor
  • 59 replies
  • November 7, 2017

For Java 8, i just did a fresh install of java and then ran composer to pull out the autoupdate file after turning auto updates off....


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