Bug 1173503
Summary: | java-1.8.0-openjdk is not automatically recognized as better option for alternatives than java-1.7.0-openjdk | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Frantisek Reznicek <freznice> | ||||
Component: | java-1.8.0-openjdk | Assignee: | jiri vanek <jvanek> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.6 | CC: | ahughes, dbhole, dkochuka, esammons, jvanek, pbhoot, sbaiduzh | ||||
Target Milestone: | rc | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1245238 (view as bug list) | Environment: | |||||
Last Closed: | 2015-08-10 12:44:04 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1245238 | ||||||
Attachments: |
|
Description
Frantisek Reznicek
2014-12-12 10:02:07 UTC
Created attachment 967539 [details]
Terminal transcript
Sure. Priority is set to 0 for jdk8 in rhel6. This is candidate to not a bug. This is intentional behaviour. In rhel6 jdk 8 is, and probably remains, tech preview. For rhel7, the behaviour is same right now. But may be suspect of change. Hi team, JDK 8 is no more tech preview. Time to rethink this behaviour? Best Regards, Piyush Not so sure for rhel6.... It's been there for a while, and we are soon going to make OpenJDK8 the default for IcedTea-Web everywhere, so I think it is safe to set the priority higher than 7 for the next release. (In reply to Deepak Bhole from comment #7) > It's been there for a while, and we are soon going to make OpenJDK8 the > default for IcedTea-Web everywhere, so I think it is safe to set the > priority higher than 7 for the next release. This will only be for java provides of course, not java-devel, which will stay at java8-devel to late for 6.7 but for 6.8 (and 7.2?) I will align priority to regualr openjdk one then. (https://bugzilla.redhat.com/show_bug.cgi?id=1189084) I'd say any move to make OpenJDK 8 the default JVM should depend on OpenJDK 8 having ECC support: https://bugzilla.redhat.com/show_bug.cgi?id=1208307 OpenJDK 7 has this as of 6.7 so I don't think we should start preferring OpenJDK 8 over that unless it can provide the same functionality. Generally, we should also ensure that bug fixes don't regress from 7 to 8. (In reply to Andrew John Hughes from comment #10) > I'd say any move to make OpenJDK 8 the default JVM should depend on OpenJDK > 8 having ECC support: > > https://bugzilla.redhat.com/show_bug.cgi?id=1208307 > > OpenJDK 7 has this as of 6.7 so I don't think we should start preferring > OpenJDK 8 over that unless it can provide the same functionality. > > Generally, we should also ensure that bug fixes don't regress from 7 to 8. The higher priority only comes into play if alternative link is set to auto mode. Almost all production systems would be expected to set the link manually. Manual links will not be changed if a higher priority JDK is installed. Hello Jiri, As a workaround, can we manually edit the '/var/lib/alternatives/java' file and increase the priority for java-1.8.0-openjdk. Like adding the value as, /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-0.b16.el6_6.x86_64/jre/bin/java 180051 # alternatives --config java There are 11 programs which provide 'java'. Selection Command ----------------------------------------------- 1 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java 2 /usr/lib/jvm/jre-1.5.0-gcj/bin/java 3 /usr/lib/jvm/jre-1.7.0-oracle.x86_64/bin/java 4 /usr/java/jre1.7.0_67/bin/java 5 /usr/lib/jvm/jre-1.8.0-oracle.x86_64/bin/java 6 /usr/lib/jvm/jre-1.6.0-sun.x86_64/bin/java 7 /usr/lib/jvm/jre-1.6.0-sun/bin/java 8 /usr/java/jre1.8.0_20/bin/java 9 /usr/java/jre1.7.0_79/bin/java *+ 10 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-0.b16.el6_6.x86_64/jre/bin/java 11 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java Enter to keep the current selection[+], or type selection number: Thanks. *** This bug has been marked as a duplicate of bug 1251560 *** |