Forum Stats

  • 3,837,191 Users
  • 2,262,234 Discussions
  • 7,900,218 Comments

Discussions

Auto Update

997862
997862 Member Posts: 1
edited Jun 15, 2013 4:55PM in Java Runtime Environment (JRE)
Hi

We have a requirement to use J 6_35 in our office environment however im having issues on Windows 7 machines whereby the auto-update cant be turned off. Installing the 32bit version shows me the update tab in the control panel but auto-update re-enables itself as soon as you close the control panel. I have some machines with 32+64bit version and there is no update tab in the control panel but it still offers the J7_17 update constantly.

Am i missing something or is Java7_17 forced regardless of settings now?

Answers

  • 1003714
    1003714 Member Posts: 13

    First of all 64-bit builds of Java do no have the auto-update feature. So you should only have to worry about Java using 32-bit (x86). You can turn off the AU a number of ways. Create a file called "Java Policy - Disable Auto Updates.reg" and paste the following text into it.

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
    "EnableJavaUpdate"=dword:00000000
    

    Then if you have a batch file you use to install Java on the workstation then just add the following lines to the batch file:

    XCOPY "\\10.10.5.100\Java_Updates\*.reg" "C:\Java_Updates\" /E /Y /V /I /Q /R
    CD "C:\Java_Updates\"
    RegEdit /s "Java Policy - Disable Auto Updates.reg"
    

    You can also look up what's called a deployment.properties file (or d.p). It usually goes into "C:\Windows\Sun\Java\Deployment" and you can list different properties that you'd see in the control panel. Then you can set the default values and/or lock that property so users cannot change them. Keep in mind that this d.p file is mostly broken in some of the latest builds of v7.

This discussion has been closed.