On 02 May 2006, Mike Scherer said:
> How and where do I specify the JAVA_HOME or the JRE_HOME Environment
> variables?

What OS are you using?  With most Unix-like systems, you just do
something like

  export JAVA_HOME=...

before running the Tomcat launch script.  E.g. if you start Tomcat from
an init script, you could add that line to your init script.  Or you
could hack startup.sh to set the required variables.  Or you could hack
startup.sh to source an external file where you set whatever env
variables you need (that's what we do, although we're still using Tomcat
4.1, so it's catalina.sh that we hacked ... same idea).

Anyways, this isn't really a Tomcat question, it's a "how do I set
environment variables on my OS?" question.

        Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to