In the Java Control Panel on Windows there are settings for "temporary internet files" wherein all the applets and webstart stuff is cached. For certain users of our application this caching doesn't work properly and they need to delete all the files through the control panel before our webstart application will update itself properly.
Overlooking the other implications of doing so, is there anyway we can programmatically delete the temporary file cache when we do an update, preferably through Java and without resorting to any batch file or Windows hackery quackery?