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

DIRTY INSTALL - JDK 1.4.1_04b1-nb - Registry and system java version not updated

XMLWordPrintable

    • x86
    • windows_2000, windows_2003

      Dirty Install on Released JDK
      -----------------------------
       
      Reproducable on win2k-SP3 and winXP-SP1.

      1. Install released JDK 1.3.1xx or JDK 1.4.0 xx into default directory.
      2. Install JDK 1.4.1_04b1-nb into default directory.

      3. Open command prompt and check java version strings :

      C:\>java -version
      java version "1.3.1_09"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_09-b01)
      Java HotSpot(TM) Client VM (build 1.3.1_09-b01, mixed mode)

      C:\>java -fullversion
      java full version "1.3.1_09-b01"

      C:\>which java
      C:\WINNT\system32/java.exe

      It appears that when 1.4.1_04b1-nb is installed onto a system where 1.3.1xx or 1.4.0xx already exists the java executable in the windows system directory does not get updated.

      4. Run regedit

       HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit
       HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment

       Current Version 1.3 entries are present under Java Development Kit and Java
       Runtime Environment.

       This is incorrect the Current version should be "1.4" for both Java Devlopment
       Kit and Java Runtime Environment.

       I tested this with 1.4.1fcs, 1.4.1_02 and 1.4.1_03, I could not reproduce the bug here.
       This bug first came to light in 1.4.1_04b1-nb and so is a regression from
       1.4.1_03.

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

            chegar Chris Hegarty
            amckeownsunw Annemarie Mckeown (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: