Maybe dumb question...
All the tutorials, etc. I've seen talk about defining CATALINA_HOME, and
JAVA_HOME as environment variables (and sometimes also CLASSPATH)
I didn't define anything as environment variables, mine are just defined in
workers.properties and tomcat4.conf
In
-
From: Juan Nin [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 1:48 PM
To: [EMAIL PROTECTED]
Subject: Environment variables, are they really needed??
Maybe dumb question...
All the tutorials, etc. I've seen talk about defining CATALINA_HOME,
and
JAVA_HOME as environment variables
From: Shapira, Yoav [EMAIL PROTECTED]
This is a basic unix question, not specific to tomcat. Without going
into technical details, I would say environment variables are one way to
define these properties. There are other ways, e.g. in your
configuration files.
yes, I know that, but I just
Howdy,
yes, I know that, but I just wondered why everyone defines them as
environment variables..
I see it more tidy to define them in configuration files...
As you say, it's a personal preference. If you have many things using
java, with many configuration files, it probably makes more sense
Programming 101.
I'd rather have something defined once and refer to it a dozen times then
have to define it a dozen times. As soon as you upgrade, you have to
change it in 12 places instead of one.
Some people have lots of things that use Java besides Tomcat, thus
something like JAVA_HOME
Shapira
Millennium ChemInformatics
-Original Message-
From: Juan Nin [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 1:48 PM
To: [EMAIL PROTECTED]
Subject: Environment variables, are they really needed??
Maybe dumb question...
All the tutorials, etc. I've seen talk about
At 11:46 AM 7/17/2003, you wrote:
Some people have lots of things that use Java besides Tomcat, thus
something like JAVA_HOME comes in handy.
... and some people have lots of things that use Java besides Tomcat that
use, for one reason or another, different versions of Java. Thus,
something