/build/static/layout/Breadcrumb_cap_w.png

How to turn on automatic update when deploying Java?

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   [ + ] Show comments

Answers (1)

Posted by: crispybiscuit 10 years ago
Orange Belt
1

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:

http://www.java.com/en/download/help/silent_install.xml
http://www.itninja.com/software/oracle/java-2/7-552

Veritas Amor Pax


Comments:
  • 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? - tsienkiewicz@ldirx.com 10 years ago
  • For automatic updates to work, your users will need local administrator privileges. Please tell me they don't have those... - anonymous_9363 10 years ago
  • No, they do not have those. - tsienkiewicz@ldirx.com 10 years ago
  • 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. - crispybiscuit 10 years ago
  • Great. Thanks. - tsienkiewicz@ldirx.com 10 years ago
  • Good news! Someone already did the work!

    Here's how to get the msi with info on reg hacks:
    http://www.itninja.com/blog/view/java-runtime-environment-version-7-0-update-40

    Here's how to create the transform:
    http://www.itninja.com/software/oracle/java-7-update-40/7-2447

    Here's Orca:
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa370557(v=vs.85).aspx

    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. - crispybiscuit 10 years ago
  • 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! - crispybiscuit 10 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ