tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Weinberger <>
Subject Re: Installation Question
Date Thu, 06 Jul 2000 18:43:22 GMT
Thanks for the reply-- your information was very useful.  I realized that 
on my server I have JSDK2.0 but not just JDK.... can you direct me to link 
where I can download the latest JDK for linux/Unix?  I saw JDK1.1 for 
Solaris on but I didn't think that was correct.


At 02:17 PM 7/6/2000 -0400, Bob & Val Tobin wrote:
>I'm new to this as well, so anyone feel free to correct me if I'm wrong
>somewhere, but I'll tell you what I know.  I also got tripped up by the
>flippant reference they made in the user guide to setting environment
>variables.  Here is what I found out from reading a couple of Linux books:
>You can set the JAVA_HOME environment variable the same way you set the
>TOMCAT_HOME environment variable.  The root directory of your JDK hierarchy
>refers to the path to your installed the Java Development Kit, which is
>necessary to run Tomcat.  Mine is /usr/jdk1.3.  You also have to add the
>path to JDK to the PATH environment variable.
>There are probably already directories associated with the PATH environment
>variable, so if you set it at the command prompt, you want to make sure they
>don't get wiped out.  Use the syntax:  set PATH="$PATH:/usr/jdk1.3"; export
>NOTE:  The colon after the $PATH is important.
>Also NOTE:  When you type the settings in at the command prompt like that,
>they are temporarily set, and will be wiped out when rebooted.  If you want
>to make them permanent, you have to add them to the profile file
>(/etc/profile).  Editing /etc/profile will add an environment variable
>globally.  If you want to add it to a single user's profile, you would edit
>the user's .bash_profile file.  I guess that would be specific to the bash
>If you go into the file, you will see the format required.  You use a colon
>to separate each path if you have more than one per environment variable.
>For example:
>Make sure you don't delete any directories from the path without knowing
>what they do, or some things might not work any more.  If you back the file
>up first, it won't be irreversible.
>I hope this helps.  Like I said, I'm new to this myself (the Linux operating
>system as well as Tomcat), so I'm getting information from a variety of
>sources, and if I've misdirected in any way, someone please jump in and
>correct me.  This seemed to help me get Tomcat running just fine, though.
>By the way, I simply used Gnotepad to edit the file  You can also see what
>is currently stored in the environment variables by typing the following at
>the command prompt:
>echo $Environment_Variable_Name
>for example:  echo $PATH
>would display whatever directories you have stored in the PATH environment
>variable, which in this case would be /usr/X11R6/bin:/usr/jdk1.3.
>----- Original Message -----
>From: Ben Weinberger <>
>To: <>
>Sent: Thursday, July 06, 2000 1:13 PM
>Subject: Installation Question
> > Hi~
> > I'm running a Unix/Linux box and have installed Tomcat.  I'm now setting
> > the variables and paths... I setup the environment variable for
> > TOMCAT_HOME.  Now, I just need to "Set the environment variable JAVA_HOME
> > to point to the root directory of your JDK hierarchy, then add the Java
> > interpreter to your PATH environment variable."  However, I don't quite
> > understand what that all means or what I would need to type... can someone
> > tell me exactly what I need to type in... or help me to figure out what to
> > type?
> >
> > Thanks,
> > -Ben
> >

View raw message