Red Hat Bugzilla – Bug 141831
Script ignores /etc/alternatives/java
Last modified: 2007-04-18 13:16:37 EDT
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
# Set JVM if -vm wasn't given.
if ! echo $@ | grep '\-vm ' >/dev/null 2>&1 && [ -n "$JAVACMD" ]; then
ECLIPSE_OPTS="$ECLIPSE_OPTS -vm $JAVACMD"
*** Bug 141830 has been marked as a duplicate of this bug. ***
Changed to use /usr/bin/java
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.