Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8276918

Desktop shortcut for JNLP is not updated

XMLWordPrintable

    • generic
    • generic
    • Verified

      ADDITIONAL SYSTEM INFORMATION :
      PC 64-bit / Windows 10 64-bit / JRE 8 update 311


      A DESCRIPTION OF THE PROBLEM :
      After updating Java 8, desktop shortcuts for Java Web Start applications break. Double-clicking a shortcut generates the following prompt from Windows:

      The item javaws exe' that this shortcut refers to has been
      changed or moved, so this shortcut will no longer work properly.
      Do you want to delete this shortcut?

      The shortcut, which was installed by a previous Java 8 update references the java version in the target. E.g.,:

      "C:\Program Files\Java\jre1.8.0_301\bin\javaws.exe"

      This problem has existed for the last several updates of java. There are 9 occurrences of it being reported and fixed:

      https://www.oracle.com/search/results?cat=bugs&Ntk=S3&Ntt=jnlp+shortcut+not+updated

      E.g.,: JDK-8144348

      Besides fixing the issue for an upcoming release, it would be nice if the process could be fixed so that this issue did not repeatedly occur.

      REGRESSION : Last worked in version 8

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Install a java web start application using a previous release of java 8 that adds a shortcut to the desktop
      2. Update java to the latest version of java 8, uninstalling previous version
      3. Double-click the java web start application shortcut on the desktop


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      application starts using new version of java
      ACTUAL -
      Problem With Shortcut dialog as described above

      ---------- BEGIN SOURCE ----------
      Any java web start application should do
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Delete the shortcut and either re-add it through the java control panel or reinstall the application. Alternatively, the shortcut can be manually altered to reference the location of the updated version of java.

      FREQUENCY : always


            pardesha Pardeep Sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: