views:

209

answers:

1

I use the shortcut tag in my appliation's jnlp descriptor to create a desktop link and a menu entry for my application.

If these shortcuts get deleted on the client - how can they be reinstalled automatically without user action? Is there a configuration option for the jnlp file?

(btw I'm using java6)

+2  A: 

Please refere this link - http://mindprod.com/jgloss/javawebstart.html

SUMMARY:If you want JWS to recreate menu and/or desktop shortcuts, delete both the menu item and the desktop icon, then run javaws -viewer on the command line then click the button to create the shortcuts. If either one exists, javaws.exe won’t create the other. It also might not create them where you were expecting, so look around.

adatapost
thanks! this works, BUT: in the described way the user needs to do this manually on the client - it would be better if this could be done automatically, e.g. that during launching from the web, java checks if the shortcuts exists - and if not, installs them!
räph