JDK-6578039 : Shortcut: Replacement of the webstart-link on the desktop
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-07-09
  • Updated: 2011-02-16
  • Resolved: 2010-09-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [5.1.2600]

A DESCRIPTION OF THE PROBLEM :
The link on the desktop will be recreated on every start of the JLNP file! The new shortcut is on the Left Top! Everyday we start 4 different Java Web Applications on workstations!

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
- Install JAVA 6
- Create a JNLP-File on the server
- Call the JNLP-File from IE or Mozilla
- It will be a shortcut installed on the desktop
- Close application
- Click on the shortcut on the desktop


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
- The shortcut will be deleted
- It will be recreated on the left top
ACTUAL -
- The shortcut will be deleted
- It will be recreated on the left top

ERROR MESSAGES/STACK TRACES THAT OCCUR :
ERROR

java.io.FileNotFoundException: C:\Program Files\Java\Cache\6.0\28\76ddd11c-751b2350 (Das System kann die angegebene Datei nicht finden)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(Unknown Source)
	at java.io.FileInputStream.<init>(Unknown Source)
	at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
	at com.sun.javaws.Main.launchApp(Unknown Source)
	at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
	at com.sun.javaws.Main$1.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
SHORTCUT
C:\WINDOWS\system32\javaws.exe "c:\Program Files\Java\Cache\6.0\28\76ddd11c-1e7f4381"

---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
Do not work with the desktop shortcuts...
Start the application always over http://10.1.xx.xx:9x80/AfpsWebStart link, which shows an website

reflink: http://10.1.xx.xx:9x80/AfpsWebStart/app/

<a href="AfpsClient.jnlp">Client</a>
<a href="AfpsSetup.jnlp">Grundeinstellung</a>
<a href="AfpsAccess.jnlp">Zugriffverwaltung</a>
<a href="AfpsIReport.jnlp">iReport</a>

Comments
EVALUATION this sounds a dup of 6511789: shortcut is removed and created again each time there is an application update which is fixed already in 6u2. emailed customer and ask them to test with 6u2.
11-07-2007