The JRE reads the file at load time, it is just a text file. If the JRE is running at the time of deployment the JRE would need to be restarted to pick up the new file. I understand that some admins restart the system after installing a JRE, that should not be needed in this case.
Do you have an idea as how to automate restarting JRE after updating the properties file?
You can end the process and it can be restarted by user when they next launch the application. I am unaware of a way to restart the JRE and the application that was being used when the process was ended.
Which processes would that be? I cannot see any running processes in regards to Java.
The scenario is as follows:
- I log onto the computer. (no programs running of any kind)
- I add the line: "deployment.expiration.check.enabled=false" to the file: deployment.properties" located here: C:\Users\<user>\AppData\LocalLow\Sun\Java\Deployment" and save the file.
(this ought to disable the functionality where Java detects that I am running an older version of Java, when I open a webpage using java)
- I open my browser and webpage which presents me with the dialog "Java Update Needed" in spite of the added line.
If I choose "Later" I can see Java being loaded in the background and if I close and reopen my browser the change has been loaded and the warning is not shown any more.
You have to have the console opened up and press r to reload config.
Thx.. but I need to do this on 10000+ clients. Do you know of any way to automate this?