We deploy the JRE via SCCM. I create an mst for use with the msi and cab file. I also modify and apply a system-level deployment.properties file. This install is a silent, unattended install with updates disabled.
We want to migrate from JRE 6 to JRE 7 but are running into an issue with the Java cache. We figured out that clearing the Java Cache (Temporary Internet Files via the Java Control Panel) solved the problem. We had to select all three boxes: 1) Trace and Log Files, 2) Cached Applications and Applets and 3) Installed Applications and Applets. These files are stored per user (on Windows 7): C:\Users\<userid>\AppData\LocalLow\Sun\Java\Deployment\cache
I found the instructions for using command line options with javaws (-Xclearcache -Xnosplash or -uninstall) but wouldn't that only clear the cache for the currently logged on user?
Is there a way to programmatically clear the all of the user's Java cache on install? Maybe with something in the deployment.properties file?
If i run the command
"c:\Program Files (x86)\Java\jre7\bin\javaws.exe" -clearcache
whilst logged in as any user. The problem is then fixed for all profiles
If I run this with SCCM, nothing happens.
Did you ever find a solution?