Varuna Seneviratna wrote:
On 3 May 2011 23:16, David Smith <david.sm...@cornell.edu> wrote:
Depends on your OS and how you start tomcat (startup script or as a
service).
--David
On 5/3/2011 1:43 PM, Varuna Seneviratna wrote:
On 3 May 2011 22:21, Caldarale, Charles R <chuck.caldar...@unisys.com> wrote:
From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com]
Subject: What is JAVA_HOME?
What is the use of the Java Home directory to Tomcat.What are the
files of the Java installation that Tomcat uses?I am asking this to
determine the set of files and their Home directory which should be
set as JAVA_HOME
Read the doc. To quote from RUNNING.txt:
(1) Download and Install the Java SE Runtime Environment (JRE)
(1.1) Download the Java SE Runtime Environment (JRE),
release version 6.0 or later, from
http://www.oracle.com/technetwork/java/javase/downloads/index.html
(1.2) Install the JRE according to the instructions included with the
release.
(1.3) Set an environment variable named JRE_HOME to the pathname of
the directory into which you installed the JRE, e.g. c:\jre6.0
or /usr/local/java/jre6.0.
NOTE: You may also use the full JDK rather than just the JRE. In this
case set your JAVA_HOME environment variable to the pathname of
the directory into which you installed the JDK, e.g. c:\jdk6.0
or /usr/local/java/jdk6.0.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
How to set environment variables permanently.Without having to set
each time it is needed to be used.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
I am using Fedora 14 at the time if that is so what is the way to do it?
In the "bin" directory of Tomcat (*), create (or edit) a script named "setenv.sh", and put
the definitions there.
At least, if you downloaded and installed tomcat from the tomcat website.
If you are using a Fedora package, then you should ask the people who created
that package.
(*) where you should also find scripts named "catalina.sh" and "startup.sh".
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org