Pergunta

I have an application that is being deployed via JNLP on Windows XP. I have created a shortcut on the user desktops pointing to http://myserver/myapp.jnlp. In the folder options on XP, I have set the jnlp extension to use javaws. Despite this, the desktop shortcut still appears as a web link (using the browser icon) and when clicked, results in a browser being launched (which in turn, successfully launches the app).

This is a minor inconvenience as the application does get launched but I would prefer if the browser weren't involved. Any suggestions on how to get the app to launch directly (without the browser) would be greatly appreciated.

Thanks, Phil

Foi útil?

Solução

You have two simple options ...

  1. change your shortcuts target to "javaws destination.jnlp" or
  2. add shorcut tag to your jnlp file and javaws will create application shortcut for you

Second solution is much better because it's cross-platform.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top