Bug 141831 - Script ignores /etc/alternatives/java
Script ignores /etc/alternatives/java
Product: Red Hat Developer Suite
Classification: Retired
Component: eclipse (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Aaron Luchko
: 141830 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2004-12-03 17:49 EST by Aaron Luchko
Modified: 2007-04-18 13:16 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-01-17 13:41:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2005:214 normal SHIPPED_LIVE eclipse bug fix and enhancement update 2005-04-01 00:00:00 EST

  None (edit)
Description Aaron Luchko 2004-12-03 17:49:53 EST
Description of problem: When the startup script attempts to autodetect
a jvm when none is supplied it uses IBM jvm even if BEA is set in
/etc/alternatives.  The problem lies in the lines

# Find our JVM.
if [ ! -x "$JAVACMD" -a -r /usr/share/java-utils/java-functions ]; then
  . /usr/share/java-utils/java-functions

# Set JVM if -vm wasn't given.
if ! echo $@ | grep '\-vm ' >/dev/null 2>&1 && [ -n "$JAVACMD" ]; then
Comment 1 Aaron Luchko 2004-12-03 17:51:21 EST
*** Bug 141830 has been marked as a duplicate of this bug. ***
Comment 2 Aaron Luchko 2005-01-17 13:41:07 EST
Changed to use /usr/bin/java
Comment 3 David Lawrence 2005-04-01 18:30:16 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.