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

auto update from javaws 1.4.2_05 to javaws 1.5.0 fails under windows xp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • deploy
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.4.2_05"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
      Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Loged into windows xp as a restricted user.

      A DESCRIPTION OF THE PROBLEM :
      I am testing an application that only runs under tiger. In the jnlp file I have the following xml tag:
      <j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="100m" max-heap-size="250m"/>

      Under most conditions this autodownloads tiger from java.sun.com, installs it, and finishes launching my application. However if you are loged into windows xp as a restricted user it autodownloads tiger, appears to install it, and tries to launch my application but instead of launching the application I get a Java Web Start - Unexpected Error. After further inspection, the autodownload tried to install tiger to C:\Documents and Settings\tester\Application Data\Sun\Java\Deployment\javaws\cache\.ext\E1103643751328\bin\javaw.exe

      instead of to C:\Program Files\Java\jre1.5.0\bin\javaw.exe like it does if the user has administrator rights under Windows XP.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      UnInstall Tiger,
      Install j2se 1.4.2
      Log into windows XP as a restricted user
      Launch a webstart jnlp file with a simmilar xml tag: <j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I would like a message saying to verify you have enough priviledges to install software.
      ACTUAL -
      Webstart thought it had installed tiger to C:\Documents and Settings\tester\Application Data\Sun\Java\Deployment\javaws\cache\.ext\E1103643751328\bin\javaw.exe
       and was unable to launch there after.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      An error occurred while launching/running the application.

      Title: Test Application
      Vendor: Computer Marketing Corporation
        Category: Unexpected Error

      Could not launch the Java Runtime Environment version C:\Documents and Settings\tester\Application Data\Sun\Java\Deployment\javaws\cache\.ext\E1103643751328\bin\javaw.exe


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      <j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="100m" max-heap-size="250m"/>

      Put this in any jnlp file, and launch it without tiger installed and as a Windows XP restricted user
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      If possible have your system administrator give you more rights to your computer.
      ###@###.### 2005-2-03 22:10:39 GMT

            Unassigned Unassigned
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: