Bug 141831 - Script ignores /etc/alternatives/java
Script ignores /etc/alternatives/java
Status: CLOSED ERRATA
Product: Red Hat Developer Suite
Classification: Retired
Component: eclipse (Show other bugs)
2.0
All Linux
medium Severity high
: ---
: ---
Assigned To: Aaron Luchko
eclipse-bugs
:
: 141830 (view as bug list)
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2005-01-17 13:41:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  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_javacmd
fi

# Set JVM if -vm wasn't given.
if ! echo $@ | grep '\-vm ' >/dev/null 2>&1 && [ -n "$JAVACMD" ]; then
  ECLIPSE_OPTS="$ECLIPSE_OPTS -vm $JAVACMD"
fi
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.

http://rhn.redhat.com/errata/RHEA-2005-214.html

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