Hi all,
I am new to linux. I wanted to install tomcat on Linux machine.
i have placed tomcat5.5 in opt/tomcat directory.
Now the system is expecting to set the enviornmental variables.
where and how can i set the same? (CATALINA_HOME and JAVA_HOME)
Thanks,
Vinay
--
View this message in
Am Freitag, den 18.12.2009, 04:32 -0800 schrieb VinayTJ:
Hi all,
I am new to linux. I wanted to install tomcat on Linux machine.
i have placed tomcat5.5 in opt/tomcat directory.
export JAVA_HOME=jdk/jre-directory
export CATALINA_HOME=/opt/tomcat
Now the system is expecting to set the
export CATALINA_HOME=/opt/apache-tomcat-5.5.25
export JAVA_HOME=/opt/jdk1.5.0_14
export JDK_HOME=$JAVA_HOME
export JRE_HOME=$JAVA_HOME/jre
export PATH=$PATH:$JAVA_HOME/bin
export PATH=$PATH:$CATALINA_HOME/bin
-
To unsubscribe,
sorry forgot where...
both commands work from console/terminal
or you can add them to your personal bash-config file. put 'em at the
end of
/home/yourusername/.bashrc
or you can add them to the startup-script of tomcat as first lines
/opt/tomcat/bin/startup.sh
or if you have
hi,
I have set the env variables.
but while starting the tomcat i.e executing startup.sh , it is saying
The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program
can u pls help me out form this?
Thanks,
vinay
Given Shirinda wrote: