JNLP desktop shortcut creation with Windows 7 : "cannot create shortcut"

Touko picture Touko · Apr 12, 2010 · Viewed 8.9k times · Source

we have an Java application deployed with Java Web Start (JNLP) that does a desktop shortcut.

One client has issue with Windows 7 : in the end of startup/installation there is a message "cannot create shortcut".

With our own Windows 7 machine we don't have problems and unfortunately we don't have much details yet. But if somebody has encountered similar issue or has some ideas to try, they are welcome =)

Java version used at the client is 6u18.

Br, Touko

Answer

JRL picture JRL · Apr 12, 2010

Two possible causes come to mind:

  • the shortcut was deleted. It won't be recreated until the user redownloads the application and runs the installation. To do so, have the user clear the java cache via the control panel, and redownload your JNLP.

  • shortcut creation is disabled in the java control panel settings. Turn it back on (Advanced -> Shortcut creation tab).

Edit: actually since you're getting an error message, what I said above shouldn't normally apply. Maybe it's simply a Windows Security issue? Does the user have write access to the Desktop?