GeeCON Prague 2014*
The moose likes JNLP and Web Start and the fly likes Cannot Create Shortcut Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Cannot Create Shortcut" Watch "Cannot Create Shortcut" New topic
Author

Cannot Create Shortcut

Daniel Casey
Greenhorn

Joined: Jul 31, 2013
Posts: 1
We use a Java application that is started with Java WebStart. I have installed this application on numerous computers, and the shortcut appears on the user's Desktop (Windows XP & Windows 7).

However, on one computer (mine) the shortcut does not appear on the desktop. When I start Jave Webstart I can see the application (under the System Applications tab). However, the shortcut option is disabled. I did extensive searches to ensure that there is no shortcut associated with the application on my C: drive. I have tried this with accounts with administrative privileges but without success. I can run the application both online and offline. I downloaded another Java application (not related to the above-mentioned application) and it did create a desktop shortcut. I was able to delete that shortcut and then re-create it in Java WebStart.

Would anybody have any ideas why the shortcut is not created on my computer upon installation even though it is created on other computers running the same version of Java or why the shortcut option is disabled on my computer?

Thanks,

Daniel
Jacob Anawalt
Ranch Hand

Joined: Oct 27, 2010
Posts: 32

Do you have multiple shortcut entries in your JNLP?

I often place a shortcut on the destkop and in a submenu of the start menu. I have found that if I delete only one of the two, for example the the desktop shortcut, the Shortcut button remains disabled when showing Applications on the Java Cache Viewer of the Java Control Panel. I have to delete both if I want the button to re-enable so I can click it to recreate both shortcuts. Other times I have just deleted the application from the Java Cache Viewer and then re-launch the JNLP so that it can recreate the shortcuts. Others have also experienced this.

Do the applications that work also appear in the System Applications list, or are the working ones in the Applications list?

If it is the only one that is installed in the System Applications cache, do you know why it is setup that way? Did you run this command?



If that's not the trouble, it could help to see the contents of your JNLP file's shortcut element.

Jacob
 
GeeCON Prague 2014
 
subject: Cannot Create Shortcut