I just wanted to confirm on how to turn on the automatic update when deploying Java.  Is it just as simple as setting AUTOUPDATECHECK=1 JAVAUPDATE=1 JU=1?  I was just working for some clarification.

0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



That should be correct if you want it ON.  In my experience I have found it to be ON by default and have spent more time trying to turn it OFF.  All the way to the point of using the msi to install instead of the exe and creating a transform file using Orca.

Useful Links:


Veritas Amor Pax

Answered 09/25/2013 by: crispybiscuit
Orange Belt

  • I took the msi file from my PC under Users>AppData>LocalLow>Sun>Java>jre1.7.0_40>jre1.7.0_40.msi and then I used that file in my script. I ran it on a test machine and it did not work. In my logs, it gave me an error code 193 which I believe is what you get when you are trying to run a 64bit on a 64bit. The test machine is a 32bit and the msi file is a 32bit. Any ideas of what I did wrong?
  • For automatic updates to work, your users will need local administrator privileges. Please tell me they don't have those...
  • No, they do not have those.
  • I'm not sure if they need admin rights or not as we've always kept the auto update off and just pushed the updates out through our K1000. If you're using the msi, make sure to have the Data1.cab file and make a transform. Let me see if I can whip one up for you and test the auto update from a machine I happen to be reimaging at the moment. Give me a bit. Still early in the morning here.
  • Great. Thanks.
  • Good news! Someone already did the work!

    Here's how to get the msi with info on reg hacks:

    Here's how to create the transform:

    Here's Orca:

    Although you can find it elsewhere as well.

    Make the changes to the instructions to enable updates of course. Haven't tested the autoupdates yet myself though. Going to have to use an older version to actually need an update.

    See if you can get that to work for ya. Be back in a bit.
  • VBScab is correct! Testing of the scenario proved negative. Users without admin rights cannot install updates. Also, if they could, they would probably accept whatever toolbar Java is getting paybacks from at the time. Best practice is to disable the autoupdate and just do it manually through KACE or another appliance. Yes I know it's annoying. They update faster than the wind changes, but c'est la vie mon frere!
Please log in to comment