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

The public JRE can not be installed when installing the JDK9b120

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 9
    • install
    • Win2012 r2 x64/JDK 9 b120

    • x86
    • windows_2012

      Test Bundle: jdk-9-ea+120_windows-x86_bin.exe

      Steps to Reproduce:
      JDK001-001: Install with default settings as administrator and click on Finish.

      Steps:
      0. Check preconditions
          a.Set UAC notification on [1]
          b.VERIFY There are no Java installed.
      1. Run cmd.exe as administrator
      2. Invoke the Offline installer (ex: jdk-9-windows-i586.exe)
      3. Navigate through the install.
      4. Click on finish button to complete the installation procedure.
          a. VERIFY command java -version has right version info[2]
          b. VERIFY JDK (and JRE if installed) is installed in C:\Program Files\Java (or C:\Program Files (x86)\Java if 32bit Java installed on 64 bit Windows)
          c. Launch registry editor[3]
              VERIFY registry by running regedit.exe, ensure Java Registry is created in [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft] (and [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft] if 8ux and higher on 64 bit Windows.) For 32 bit JRE on 64 bit Windows, check [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft] only.
          d. VERIFY the installed JDK (and JRE if installed) is shown in Control Panel\All Control Panel Items\Programs and Features
      5. Uninstall JRE and JDK
          a.VERIFY command java -version does not work any more
          b.VERIFY All files are removed from C:\Program Files\Java (or C:\Program Files (x86)\Java if 32bit JDK on 64 bit Windows)
          c.VERIFY registry by running regedit.exe, ensure Java Registry is removed from [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft] (and [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft] if 8ux and higher on 64 bit Windows.) For 32 bit JRE on 64 bit Windows, check [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft] only.
          d.VERIFY the installed JRE and JDK are removed from Control Panel\All Control Panel Items\Programs and Features.
      6. If all verifications true, test is a PASS.

      Repeat this test using 64 bit bundle in step 2

      [1] (Control panel -> search for "UAC" in right upper corner -> Click 'Change User Account Control settings -> User Account Control Settings -> Move the button to the second level 'Default - Notify me only when programs try to make changes to my computer')
      [2] Open a new console, and run command 'java -version', for 32 bit 7ux Java installed on a 64 bit windows, open 32 bit console instead (e.g. C:\Windows\SysWOW64\cmd.exe)
      [3] Launch registry editor by running command 'regedit.exe' from console

      Actually behavior:
      The public JRE can not be installed.

            hluohua Locke Huang (Inactive)
            michaelw Michael Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: