Skip to main content
Question

Java 7 Preferences

  • February 5, 2013
  • 57 replies
  • 241 views

Show first post

57 replies

RobertHammen
Forum|alt.badge.img+29
  • Esteemed Contributor
  • February 20, 2015

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


Forum|alt.badge.img+33
  • Hall of Fame
  • February 20, 2015

Forum|alt.badge.img+17
  • Valued Contributor
  • February 23, 2015

Perfect. Thanks @rtrouton and @RobertHammen!


Forum|alt.badge.img+10
  • Contributor
  • June 11, 2015

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


Forum|alt.badge.img+12
  • Valued Contributor
  • July 10, 2015

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


Forum|alt.badge.img+5
  • New Contributor
  • July 14, 2015

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.


Forum|alt.badge.img+12
  • Valued Contributor
  • July 14, 2015

Thanks @timsutton

Sounds like the safest way to go!

Cheers,
Andy