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

Shortcut : Applets requesting older version of JREs fails to launch from desktop shortcuts

XMLWordPrintable

    • generic
    • windows

      Applets using JNLP using older version of JREs when run inside the browser works fine but It's not true when same applet is launched from the desktop shortcut. Instead javaw process hangs by throwing following exception:
      java.lang.Exception: JNLP2Viewer.appletJRERelaunch: 1.5.0* ;
      at sun.plugin2.applet.viewer.JNLP2Viewer$1$3.appletJRERelaunch(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.fireAppletJRERelaunch(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      One need to manually kill the running javaw process.
      This issue is reproducible with applets requesting any version from JRE family e.g. 1.5.0* or applets requesting specific JRE version e.g. 1.5.0_10.
      Applets requesting JRE version from a family or later e.g. 1.5.0+ works fine when launched from the desktop shortcut but javaw process is still keep on running once applet is closed. One need to kill thr javaw process manually in this case also.


      Steps to reproduce:
      ------------------
      1) Install 1.5.0_10 along with 6u10
      2) Run following applet(requesting 1.5.0_10)
      http://nicole1.sfbay.sun.com:8080/plugin_tests/JNLPSupport/desktopInteg/MultiJRE/JRE1.5.0_10Test.html
      3)Security pop-up should be there
      CLick on the "Run", applet should get loaded fine using 1.5.0_10
      4) Reload the page, and this time Click "Cancel" on the security pop-up.
      Applet should get loaded using 1.6.0_10
      5) Drag applet out the browser and close the browser
      6)There should be pop-up about creating of shortcut. Allow to create shortcut
      7) Try launching the same applet from the desktop shortcut. If above mentioned behavior is noticed then bug is reproduced.

            herrick Andy Herrick (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: