Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically clearing the Java Web Start Cache

I have a Java Web Start application. I specify the resource (jars, images, etc) version and change every time there is a new version. Unfortunately sometimes the resources are not always updated when there is a new version.

Is there any automated (possibly include in the application) way of clearing the web start cache?

like image 768
n002213f Avatar asked Jan 20 '26 17:01

n002213f


1 Answers

Not in a reliable way.

We have found that making the URL unique for each item helps a lot. In other words deploy to "foo/20100310/main.jar" etc and update the JNLP file accordingly.

like image 97
Thorbjørn Ravn Andersen Avatar answered Jan 23 '26 05:01

Thorbjørn Ravn Andersen