allywilson
Technical User
Hi all,
I'm quite interested to find out if it's possible to repoint a common java cache for all users of a single PC.
Scenario: Java web application checks to see if a cache of its JAR files exists on the local machine, if not, then it promptly downloads them to a specific location on the users profile (%USERPROFILE%\Application Data\Sun\Java\Deployment\cache\6.0\11) the last directory is between 0-60 - but for some reason it is always 11 for the current release of the web application we're using, followed by renaming the whatever.jar file to a random 17 digit number (8digits followed by a hyphen and then another 8digits).
What I'd like to know is if I can manipulate/predict the full 17 digits? Is it a setting on the webserver giving out the jar file or is it a java setting on the local machine? I'd quite like to repoint it to a local store (e.g. C:\java\whatever.jar) so that anyone who logs on to the workstation uses the same cache (rather than downloading it a load of times for each workstation).
Cheers,
I'm quite interested to find out if it's possible to repoint a common java cache for all users of a single PC.
Scenario: Java web application checks to see if a cache of its JAR files exists on the local machine, if not, then it promptly downloads them to a specific location on the users profile (%USERPROFILE%\Application Data\Sun\Java\Deployment\cache\6.0\11) the last directory is between 0-60 - but for some reason it is always 11 for the current release of the web application we're using, followed by renaming the whatever.jar file to a random 17 digit number (8digits followed by a hyphen and then another 8digits).
What I'd like to know is if I can manipulate/predict the full 17 digits? Is it a setting on the webserver giving out the jar file or is it a java setting on the local machine? I'd quite like to repoint it to a local store (e.g. C:\java\whatever.jar) so that anyone who logs on to the workstation uses the same cache (rather than downloading it a load of times for each workstation).
Cheers,