Bug 141830 - Script ignores /etc/alternatives/java
Script ignores /etc/alternatives/java
Status: CLOSED DUPLICATE of bug 141831
Product: Red Hat Developer Suite
Classification: Retired
Component: eclipse (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Aaron Luchko
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: 2006-02-21 14:07:30 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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:38 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:14 EST
oops :)

*** This bug has been marked as a duplicate of 141831 ***
Comment 2 Red Hat Bugzilla 2006-02-21 14:07:30 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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