Reload java applet

I have a java applet on one html page, later I modified the java code and regenerated the jar file. all i did was copy the jar file to my web server and bring out the browser to see the updated applet, but it still showed the old version. I tried updating my browser, deleting cookies, all the same. I tried to open this html file by double-clicking the file, open it in a browser using the correct applet ... I deployed the applet with jnlp. who knows what could go wrong? Thanks.

+4
source share
3 answers

Go to the Java control panel and clear the Java caches *. The Java plugin does not use your browser to download Jar files.

*: Temporary Internet files - configuration - delete files

+4
source

Try this to quickly clear the cache without performing the tedious process of opening the control panel:

Hope it works!

+3
source

Jonathan's answer should do the trick, but in the future I recommend that you download the applet from the new URL with every update. For example http://www.domain.com/applet.jar?version=x

+1
source

Source: https://habr.com/ru/post/1301995/


All Articles