How to get updated jnlp file when using shortcuts?

If my jnlp descriptor on the server changes and I run the application from a browser, a new jnlp file will be created in the cache and my desktop shortcuts will be updated to use the new jnlp file. (which is still good).

But if I started my application using a shortcut on the desktop (or a menu entry), then my application will not know about the changed jnlp file on the server and will still use the cached obsolete one.

Is it possible to make webstart not only get the latest jarfiles, but also update the jnlp file itself when the application starts?

Reference Information. I pass some parameters to my application (defined in a descriptor with an argument tag) to configure my application. If these arguments are changed, this should also work when using a shortcut.

I am using java6 (u15).

EDIT: I actually found this java error 6838214 , which, it seems to me, relates to my problem. If I interpret it correctly, this should have been fixed in java6u14, but under u15 I still have this problem!

+3
source share
1 answer

If you disable offline mode in jnlp, it will always receive the jnlp file from the server. I tested this with the latest jre, not sure if it works with previous versions.

+1

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


All Articles