I think @rtrouton has one on his blog (http://derflounder.wordpress.com) or his github (yep, in Java 7 and Java 8 flavors):
https://github.com/rtrouton/rtrouton_scripts/tree/master/rtrouton_scripts
Perfect. Thanks @rtrouton and @RobertHammen!
Does anyone know if the script above is working for v8 update 45? It seems to turn off the checkbox, but I notice that whenever I launch the Java Control Panel, it updates the last checked for updates time, which gives me pause...
@bmccune I checked on that bug and it's listed as fixed in update 60, whenever that will be released. I didn't have issues with the checkbox staying checked on 10.10.3 with java 8u45, though.
Eric
Hi @timsutton
I'd like to use the approach you mentioned and delete the symlink and also turn off updates using
defaults write /Library/Preferences/com.oracle.java.Java-Updater JavaAutoUpdateEnabled -bool false
How do you unload the LaunchAgent as the logged in user before you delete it ? i'd like to run it all as a script in a policy.
I've been looking into using launchctl bsexec but cannot get it to work so far.
Cheers,
Andy
Andy, I haven't resorted to deleting symlinks since that JavaAutoUpdateEnabled preference has been introduced.
Because Oracle does so much monkeying with those LaunchAgents/Daemons, I prefer to just leave them alone.
Thanks @timsutton
Sounds like the safest way to go!
Cheers,
Andy