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

Incomplete JDK-8259215 fix

XMLWordPrintable

    • b03
    • windows
    • Verified

        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.

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

                Created:
                Updated:
                Resolved: