I have Tomcat 3.1 running standalone on a RedHat 6.2 server(yeah).
However, on a Redhat 7.0 server, I having difficulty setting the path for
JAVA_HOME after installing JDK1.3
I can't cd to $JAVA_HOME.
The .bash_profile is as follows:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin:/usr/local/jdk1.3/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME BASH_ENV PATH
JAVA_HOME=/usr/local/jdk1.3
export JAVA_HOME
-----------
Also, when I shutdown the server, it requires /sbin/./shutdown -h now
The only difference I can tell between the two Linux version is the ENV(6.2)
vs BASH_ENV(7.0)
Can someone help?
Thanks.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]