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

Incomplete JDK-8259215 fix

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3
    • Resolution: Fixed
    • 8u271
    • 8u291
    • install
    • b03
    • windows
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: