Quoting "McKown, John" <[EMAIL PROTECTED]>:

> #!/bin/sh
> newhome="/java160"
> if [ ! -z "$JAVA_HOME" ]; then
> PATH=$(echo "$PATH" | sed -e "s#$JAVA_HOME/bin##g;s/::/:/g")
> fi
> export JAVA_HOME=${newhome}
> export PATH="$PATH:$JAVA_HOME/bin"
>
Will this work for ya?

Leland

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to