Disable Java Auto Update

No Java! Not Now!

Java has a way of wanting to be updated in the middle of something really important. Am I right? On top of that, updates can typically cause issues and we don’t want end users managing that update process. We would rather do it on our timeline, seamlessly, and without the client having to deal with constant nagging about updates.

Our Solution

To disable the Java Auto Update on a fleet of Macs I had to do the following three things:

  1. Issue a Defaults write command
  2. Add a deployment.config file
  3. Add a deployment.properties file

Defaults Write

Looks like this is where Oracle is going, thank God, but they aren’t there yet.  Anyways, issue this command to update the global Java preferences plist.

Again, I’m not sure this is doing anything yet, but can’t hurt and it really looks like it is where Java is trying to go.

The Deployment.config File

I also had to create the file “/Library/Application\ Support/Oracle/Java/Deployment/deployment.config” and put the following contents into it:

The Deployment.properties File

I also had to create the file “/Library/Application\ Support/Oracle/Java/Deployment/deployment.properties” and put the following contents into it:

Final Note and Caveat

After creating both files with the contents above and issuing the defaults write command was I able to get the update Java checkbox in the Java preferences panel to be unchecked. Do note that Java is a moving target and may make changes that make this solution no longer work, so your mileage may vary. But, I’m hoping this information will help everyone out there in the meantime.




Interested In A Free Installer?

Our custom Wifi On/Off script has been a popular post!
This script automatically turns off the wireless interface on a computer when it is connected to a wired network, and turn the wireless interface back on when it is disconnected from the wired network.
This script has two main benefits:
  1. Network connection failover
  2. Eliminates unnecessary wireless traffic, and Multi-homed computers.
We are now offering a pkg installer for this script to anyone that signs up for our mailing list.