Thursday 18 July 2013

Disabling the Java Updater

I've had a annoying moment with the Oracle Java Updater, we have a system which though not using Java can run applications using Java, our system however is all seamless, there's no desktop and it boots into a managed environment for display.  Trouble was the base disk we have had had the java update enabled, so about 50 seconds after starting the desktop changed to an Administrative mode asking for permission to update Java.... SIGH!

So this morning I've spent about half an hour figuring out a fix, because we can't seem to remove the Java update service.  No problem, lets change the setting to disable it... So I fire up explorer, and there is the java Updater in the system task tray...



See, there it is... And you can right click on it and access the Properties...


And hey look, there's an option to NOT do updates... Lets select that....



Oh look, an apply button, I'm not a rookie, so I'll click that for good measure.... and then OK...



*Whistle*... *humm*... So lets go back in there and see what its done...


Holy mother fucking god the setting is back on... Thank's Larry, this is really good stuff...

How you actually this off, is to disable the whole updater/deployment tool... So go into your User AppData directory, so my username is "Xel" so the path is: C:\Users\Xel\AppData.  This is a hidden folder, but just type it in to the start box, so if you're "judy"... C:\Users\Judy\AppData, and now we can go into: "LocalLow" and then "Sun" (yes Oracle fuck up the installer and still have the balls to name the folder "Sun").

Next you go into "Java" and then "Deployment"... Now we're past the gravy and against the meat, you should see a file called "deployment.properties"... Open that in a text editor and change the "deployment.javaws.jre.0.enabled=" from "true" to "false" so it looks like this:

deployment.javaws.jre.0.enabled=false

And reboot, now the deployment tool won't even start - let alone bug you or update the java runtime.

No comments:

Post a Comment