After upgrading the Java installation in our company to JRE 1.6.0_19, many users complained that their application-preferences (saved via java.util.prefs in the Windows-registry) got lost, but not all users had this problem. We tried to reproduce the problem, but did not succeed.
The upgrade was done via Microsoft SMS software distribution. A previous version of JDK 1.6.0_03 and JRE 1.6.0_18 was uninstalled if existing. See the following snippet from the upgrade-script:
I did not find any information what happens to saved preferences in registry when uninstalling or upgrading Java. Can anybody who knows the internals of the Java setup.exe confirm that the Java installer does NOT remove the registry-keys under HKEY_CURRENT_USER\Software\JavaSoft\Prefs\ ? Any ideas what happened?