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

Dirty Install of JDK1.3.1_05/higher on Windows doesn't copy java into system dir

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      10
    • CPU:
      x86
    • OS:
      windows_nt, windows_xp
    • Verification:
      Verified

      Description

      ###@###.### 2003-06-24

      Dirty Installation of 1.3.1_05 and higher on Windows OS doesn't copy newer version of java into Windows/System directory.

      Steps to Reproduce:
      Ensure a clean system is used (no other jdks installed)

      1. Install jdk1.2.2_xx
      2. Install jdk1.3.1_xx
      3. Run java -version in command prompt

      The following error is displayed.

      > C:\JQA\ts131\VM\INI>java -version
      > Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
      > has value '1.3', but '1.2' is required.


      I investigated this and it appears that when 1.3.1_09b1 is installed onto a
      system where 1.2.2_XX is currently on the system it does not update the java
      executable in the Windows/System directory as required. This system expects a
      1.3.1_XX java executeable in this directory but instead finds the 1.2.2_XX
      executable. The 1.3.1_XX executable is not copying into the Windows/System
      directory. Running ./java -version in the Windows/System directory reveals it is indeed a 1.2.2_XX and it has not been updated with 1.3.1_XX java. This is apparent with releases from 1.3.1_05b2.

      Running this scenario with 1.3.1_04b2, this same behaviour is not seen.

      NB- this error only occurs with this dirty installation scenario, a clean install updates windows/system with the java executeable correctly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              chegar Chris Hegarty
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: