Red Hat Bugzilla – Bug 141830
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"
*** This bug has been marked as a duplicate of 141831 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.