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

Incomplete JDK-8259215 fix

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u271
    • Fix Version/s: 8u291
    • Component/s: install
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b03
    • OS:
      windows
    • Verification:
      Verified

      Backports

        Description

        Fix for JDK-8259215 is incomplete. The following use case is not working properly:

        1. Install jdk15
        2. Install jre8
        3. Uninstall jdk15
        Expected result: "java - version" prints version of installed jre8. Actual result: java command not found. No javapath in PATH env variable.

        Suggested fix is to revert JDK-8259215 and rework AddjavapathDirToSystemPathVariable() function from JavaPath.cpp to insert jdk8's javapath entry after jdk15's javapath entry if there is one in PATH.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                asemenyuk Alexey Semenyuk
                Reporter:
                asemenyuk Alexey Semenyuk
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: