Skip to main content
Jamf Nation, hosted by Jamf, is the largest Apple IT management community in the world. Dialog with your fellow IT professionals, gain insight about Apple device deployments, share best practices and bounce ideas off each other. Join the conversation.

Disable automatic Java Update

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

Like Comment
Order by:
SOLVED Posted: by kirkd

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.

Like
SOLVED Posted: by jarednichols

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

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

Like
SOLVED Posted: by nessts

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.

Like
SOLVED Posted: by kstrick

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

Like
SOLVED Posted: by kirkd

Thank you Jared,
This is an awesome find!

Like
SOLVED Posted: by maik.sanftenberg

Thanks to all.

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

plist ist not working :-(. But thanks.

Like
SOLVED Posted: by Chris_Hafner

Also, working great for me on v7

Like
SOLVED Posted: by andrew_stenehjem

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.

Like
SOLVED Posted: by recobbs

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

Like
SOLVED Posted: by recobbs

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

Like
SOLVED Posted: by recobbs

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

Like
SOLVED Posted: by CypherCookie

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

Like