0 Replies Latest reply on Sep 3, 2010 8:39 AM by 843804

    java.util.prefs got lost on Java update

      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:
      msiexec.exe /x {32A3A4F4-B792-11D6-A78A-00B0D0160030}  /qb!- REBOOT=ReallySuppress
      taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe
      msiexec /qb!- /X {26A24AE4-039D-4CA4-87B4-2F83216019FF} REBOOT=ReallySuppress
      msiexec /qb! /I jre1.6.0_19.msi TRANSFORMS="jre1031.MST" INSTALLDIR=C:\Programme\Java\jre6 ADDLOCAL=ALL SYSTRAY=0 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0
      if exist "C:\Programme\Java\jre6\bin\jqs.exe" ( "C:\Programme\Java\jre6\bin\jqs.exe" -unregister )
      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?