I have done all the mentioned regvalues changes but one thing is still bothering me.
What about the deployment.properties file in "c:\Documents and Settings\[user]\Application Data\Sun\Java\Deployment" , when i start the javaconsole this file is created (ie not during the installation) and the standard setup is set to "download JRE automatically". I read somewhere that this is an error in the console but I'm not sure... all of the mentioned regvalues are changed, this is the only thing that is bothering me... any suggestions?
kindly Piotr
JRE 1.6.0_05 Automatic Update - deployment.properties problems
Answers
Rating comments in this legacy AppDeploy message board thread won't reorder them,so that the conversation will remain readable.
Cheers spartacus - this did the trick, although I had a bit of a headache getting it to work correctly... I ended up having to modify the path value to the deployment.properties file (within deployment.config):deployment.system.config=file\:C:/WINDOWS/Sun/Java/Deployment/deployment.properties
(deleted the backslash '\' immediately in front of 'C')
Reviewing javaw.exe's activity with Procmon revealed it was having difficulty locating the system deployment.properties file on launching the Java control panel applet, however correcting as above resolved the issue.
Thanks for pointing me in the right direction!
Have you considered using a system-wide deployment.properties file ?
The following article discusses this in more detail :
http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html
For example, you could try creating a [font="courier new"]deployment.config file in the folder C:\Windows\Sun\Java\Deployment, which would contain the following line :
[font="courier new"]deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
[font="courier new"]
and then create a new deployment.properties in the folder C:\Windows\Sun\Java\Deployment which would contain the following lines
[font="courier new"]deployment.javaws.autodownload=NEVER
[font="courier new"]deployment.javaws.autodownload.locked=
It doesn't seem to work for us.
We created the 2 files and placed them in the C:\Windows\Sun\Java\Deployment directory.
After install in Control Panel it is still accessible and the automatic update is still selected.
We use version 1.6.0_06
What are we doing wrong?
Regards,
Edwin
http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html
Woops please ignore above post looks like the update tab is only available for administrators!
Jimmy
Hi,
I'm looking to deploy Java 6 Update 7 and have followed Spartacus instructions
re: Auto-Download. The settings are being picked up as expected with the JRE Auto-Download options being greyed out in the advanced tab. However I would also like to disable the update tab so users cannot attempt to download updates from there.
Is it possible to disable that tab? Have I missed something simple?
regards
Jimmy
If you click on the "Advanced" tab in the Java Control Panel and expand the "JRE Auto Download" branch of the tree, what is the setting showing there ?
Regards,
Spartacus
It doesn't seem to work for us.
We created the 2 files and placed them in the C:\Windows\Sun\Java\Deployment directory.
After install in Control Panel it is still accessible and the automatic update is still selected.
We use version 1.6.0_06
What are we doing wrong?
Regards,
Edwin
spartacus, you are GOD..... It worked, directly althought I must say I doubted it, the turorial was for 1.5.X and not for 1.6, but it worked.... The settingt all are taken from the global deployment.properties file, sweet...
One could wonder what the registry key values are for....
thank you for the help, and thanks guys!
kindly,
Piotr
Made a couple of mistakes in my earlier post which I've now edited and also have had the chance to test them myself.
In the Java Control Panel advanced tab, the settings from the system-wide deployment.properties do appear to have been actioned. Also, using the [font="courier new"]deployment.javaws.autodownload.locked[font="times new roman"] entry seems to have usefully grayed out the option to alter the setting.
Regards,
Spartacus
Have you considered using a system-wide deployment.properties file ?
The following article discusses this in more detail :
http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html
For example, you could try creating a [font="courier new"]deployment.config file in the folder C:\Windows\Sun\Java\Deployment, which would contain the following line :
[font="courier new"]deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
[font="courier new"]
and then create a new deployment.properties in the folder C:\Windows\Sun\Java\Deployment which would contain the following lines
[font="courier new"]deployment.javaws.autodownload=NEVER
[font="courier new"]deployment.javaws.autodownload.locked=
[font="courier new"]
Regards,
Spartacus
thanks Rob, but the 1.6_05 is acting differently from your version. Accessing the "control panel" automatically generates the folders and the deployment.property file... all changes in the "control panel" updated the file too...
But I think I'm on my way to solve it....will get back when I know more...
kindly,
Piotr
In my experience, the deployment.properties file is only created if you change any of the default values. Just running the control panel applet (I'm guessing this is what you mean by the console?) does not create the file.
Likewise, if the file already exists (copied by activesetup or whatever) it doesn't get overwritten - the applet displays the settings based on the values in our customised deployment.properties file...
We are running J2RE 1.4.2_08 - perhaps later versions behave differentyy but I'd be surprised.
Cheers,
Rob.
Well..I already tried this, I copied the SUN folder with the content to the user directory (and all other directories), but the first time the console is activated it overwrites the deployment.properties file..... Tried to monitor the registry, but there seems to bee no regvalue that controls wheter the conosle has been started before or not....
If I have made the "normal" regvalue changes to avoid update, as is described in the packade KB, will it still update or not? I can't be the only one that hav thought about this problem right?
kindly,
piotr
-Then copy it to all existing profiles including "Default User" on the target machines. This will ensure existing and new profiles will get your version of the file.
Here's a possibility:
-Customize deployment.properties the way you want it.
-Then copy it to all existing profiles including "Default User" on the target machines. This will ensure existing and new profiles will get your version of the file.

Please log in to comment