Disable automatic Java Update

maiksanftenberg
Contributor II

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

1 ACCEPTED SOLUTION

jarednichols
Honored Contributor
12 REPLIES 12

kirkd
New Contributor II

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.

jarednichols
Honored Contributor

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

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

nessts
Valued Contributor II

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.

kstrick
Contributor III

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

kirkd
New Contributor II

Thank you Jared,
This is an awesome find!

maiksanftenberg
Contributor II

Thanks to all.

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

plist ist not working :-(. But thanks.

Chris_Hafner
Valued Contributor II

Also, working great for me on v7

andrew_stenehje
Contributor

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.

recobbs
New Contributor II

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

recobbs
New Contributor II

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

recobbs
New Contributor II

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

CypherCookie
Contributor

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....