-
Bug
-
Resolution: Fixed
-
P3
-
8u271
-
b03
-
windows
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8262600 | emb-8u291 | Alexey Semenyuk | P3 | Resolved | Fixed | team |
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 revertJDK-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.
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
- backported by
-
JDK-8262600 Incomplete JDK-8259215 fix
- Resolved
- relates to
-
JDK-8259215 Default Java version is not updated for double click jar execution
- Closed
-
JDK-8259858 default java version is not updated for double click jar execution
- Closed