hi,
the "java" executable is in the "bin" directory of the jre installation. So you only need $JAVA_HOME/bin in your path, and you need that before the rest of the PATH variable.
So, simply add
PATH=/usr/java/jre1.5.0_01/bin:$PATH before the if statement. |