Bug 172320
Summary: | FSF JRE location wrong? | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Anthony Green <green> |
Component: | openoffice.org | Assignee: | Caolan McNamara <caolanm> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-11-02 19:39:44 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: |
Description
Anthony Green
2005-11-02 19:30:23 UTC
no it's right. it's the dir above the bin directory in which the "true" executable for the given jre was found, i.e. /usr from /usr/bin/gij (In reply to comment #1) > no it's right. it's the dir above the bin directory in which the "true" > executable for the given jre was found, i.e. /usr from /usr/bin/gij Yes, I realize that. /usr/lib/jvm/java-1.4.2-gcj/bin/java exists and will always symlink to gij. But now I'm guessing that you're searching for gij, so I suppose what you're doing will always work as well. However, if OO.o always searches under /usr/lib/jvm it should find all of the installed JRE's and never have to special case gij. Running "alternatives --display java | grep priority" might even be a better way. Only for systems that use jpackage and alternatives, it's the same code for solaris, windows, yada, yada. the gory search system is in OOO680_m3/jvmfwk/plugins/sunmajor/pluginlib. The gcj stuff is just one tiny subset of the full search thingy. Maybe there's an argument to add support for using alternatives when supported, I'll suggest it to the jvmfwk people. |