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

TZupdater1.1.0 fail to update the publicJRE on Vista as a normal user(Non-Administrator)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 1.1.0
    • Fix Version/s: None
    • Component/s: tools
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_vista

      Description

      TZupdater1.1.0 fail to update the publicJRE on Vista as a normal user(Non-Administrator)

      OS:
      ====
      Vista 6000

      JDK:
      ====
      1.5.0_08

      TZupdate tool:
      ==============
      1.1.0

      TZupdater tool is not working on Vista as a normal user

      Below different test with the results
      =====================================

      1.
      Install public JRE and update the tool as a Administrator
      Results : Pass; JRE installed successfully and TZ successfully updated

      2.
      Install publick JRE and update the tool as a normal User(Non-Administrator Privelege)
      Results : Fail; JRE installation successful but TZ updater is failed with below error
      Error:
      ------
      Extracting files... done.
      Renaming directories... failed.
      Can't rename C:\Program Files\Java\jre1.5.0_08\lib\zi to
      C:\Program Files\Java\jre1.5.0_08\lib\zi.tzdata2006d_1

      3.
      Install public JRE as Administrator and update the TZ tool as normal user
      Results : Fail; JRE installation successful but TZ updater failed with below error
      Extracting files... done.
      Renaming directories... failed.
      Can't rename C:\Program Files\Java\jre1.5.0_08\lib\zi to
      C:\Program Files\Java\jre1.5.0_08\lib\zi.tzdata2006d_1

      4.
      Install public JRE as normal user and update the TZ tool as Administrator
      Results : Pass; JRE installation successful and TZ successfully updated

      Console log for the above tests:
      ================================

      [C:/tzupdater1.4] java -jar tzupdater.jar -u -v
      java.home: C:\Program Files\Java\jre1.5.0_08
      java.vendor: Sun Microsystems Inc.
      java.version: 1.5.0_08
      JRE time zone data version: tzdata2006d
      Embedded time zone data version: tzdata2007c
      Extracting files... done.
      Renaming directories... failed.
      Can't rename C:\Program Files\Java\jre1.5.0_08\lib\zi
      to C:\Program Files\Java\j
      re1.5.0_08\lib\zi.tzdata2006d_1.
      [C:/tzupdater1.4] id
      uid=1(urt15\user) gid=2(urt15\None)
      groups=3(Everyone),4(Administrators),5(Users
      ),6(INTERACTIVE),7(Authenticated+Users),8(This+Organization),8(This+Organization
      ),9(LOCAL),10(NTLM+Authentication),11(Mandatory+Label\Medium+Mandatory+Level)


      [C:/tzupdater1.4] java -jar tzupdater.jar -V
      tzupdater version 1.1.0-b04
      JRE time zone data version: tzdata2007c
      Embedded time zone data version: tzdata2007c
      [C:/tzupdater1.4] java -jar tzupdater.jar -f -v
      java.home: C:\Program Files\Java\jre1.5.0_08
      java.vendor: Sun Microsystems Inc.
      java.version: 1.5.0_08
      JRE time zone data version: tzdata2007c
      Embedded time zone data version: tzdata2007c
      Extracting files... done.
      Renaming directories... failed.
      Can't rename C:\Program Files\Java\jre1.5.0_08\lib\zi
      to C:\Program Files\Java\j
      re1.5.0_08\lib\zi.tzdata2007c_1.



      $ ls
      tzupdater.jar user_tz_vista_issue
      user_tz_vista_issue.bak
      $ java -jar tzupdater.jar -u -v
      java.home: C:\Program Files\Java\jre1.5.0_08
      java.vendor: Sun Microsystems Inc.
      java.version: 1.5.0_08
      JRE time zone data version: tzdata2006d
      Embedded time zone data version: tzdata2007c
      Extracting files... done.
      Renaming directories... done.
      Validating the new time zone data... done.
      Time zone data update is complete.
      $ id
      uid=1(urt15\Administrator) gid=2(urt15\None)
      groups=3(Everyone),4(Administrators
      ),5(Users),6(INTERACTIVE),7(Authenticated+Users),8(This+Organization),8(This+Org
      anization),9(LOCAL),10(NTLM+Authentication),11(Mandatory+Label\High+Mandatory+Le
      vel)

      ================================

      Note: No issues with private JRE(For both Administrator and Normal user)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              vmnsunw Vishnupriya Mn (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: