Bug 642035
| Summary: | java-functions wrapper select wrong Java version on startup | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Cédric OLIVIER <cedric.olivier> |
| Component: | jpackage-utils | Assignee: | Mikolaj Izdebski <mizdebsk> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | dbhole, mizdebsk |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.7.5-23 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-20 09:27:36 UTC | Type: | --- |
| 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: | 641756 | ||
|
Description
Cédric OLIVIER
2010-10-11 20:13:53 UTC
ping ? Reproducer: yum install java-1.5.0-gcj-devel java-1.7.0-openjdk export _prefer_jre=1 . /usr/share/java-utils/java-functions set_jvm readlink -f $JAVA_HOME Expected result: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre Actual result: /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0 I believe that this bug is fixed in jpackage-utils-1.7.5-23, which is available in Fedora Rawhide. I am closing the bug now, thank you for reporting it. A summary of changes is included below. * Thu Dec 20 2012 Mikolaj Izdebski <mizdebsk> - 0:1.7.5-23 - Set JAVA_HOME using java (not javac) location if _prefer_jre is true - Resolves: rhbz#642035 |