Bug 1098508
Summary: | all jpackage following launchers are using by defalt JDK instead of JRE | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | jiri vanek <jvanek> | |
Component: | javapackages-tools | Assignee: | Mikolaj Izdebski <mizdebsk> | |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | low | Docs Contact: | ||
Priority: | low | |||
Version: | rawhide | CC: | akurtako, java-sig-commits, jerboaa, jvanek, mat.booth, mizdebsk, msimacek, msrb, sochotni | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1098509 (view as bug list) | Environment: | ||
Last Closed: | 2015-03-16 11:26:44 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: | 1098509 |
Description
jiri vanek
2014-05-16 11:40:58 UTC
jpackage-utils has been replaced with javapackages-tools, moving to appropriate component. This is intentional behavior. If both JRE and JDK are installed then *by default* JDK will be used, regardless of version. Applications that don't require JDK features and can work with plain JRE can (and should) set _prefer_jre=true, in which case JRE is always used, if installed. This will be closed as NOTABUG unless you can convince me otherwise. Yes. I agree. After many many discussions about this, sure. You are the head here :) Maybe nit - set _prefer_jre=true - should be probably highlighted in java packaging guidelines. (In reply to jiri vanek from comment #2) > Maybe nit - set _prefer_jre=true - should be probably highlighted in java > packaging guidelines. This is already documented well enough IMO: "One thing to pay attention to is the 6th argument to it - whether to prefer a JRE over a full SDK when looking up a JVM to invoke - most packages that don’t require the full Java SDK will want to set that to true to avoid unexpected results when looking up a JVM when some of the installed JRE’s don’t have the corresponding SDK (*-devel package) installed." (from https://fedorahosted.org/released/javapackages/doc/#_generating_application_shell_scripts) Closing as NOTABUG. |