You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dirk Moolman <Di...@digicare.co.za> on 2006/05/05 16:39:53 UTC

RE: Install Guide (JAVA PATH)

Yes, I think you are right   :-)

I ran the following, and found the older version of Java first in the
path:

`which java` -version

java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia321420-20040626 (JIT
enabled: jitc))

Dirk


-----Original Message-----
From: Chris Berthold [mailto:cberthold@styleline.com] 
Sent: 05 May 2006 04:31 PM
To: 'Tomcat Users List'
Subject: RE: Install Guide (JAVA PATH)

Also as far as JDK5 goes you could type in:

which java

to make sure that it was pulling up the JDK5 version. If not (you get
/usr/bin/java or path to the ibm or gcj version), you needed to put it
first
in your path.  Most *unix platforms use /etc/profile. Go down to the
line
that says export PATH BLAH BLAH BLAH BLAH. Right before that you would
want
to enter PATH="/path/to/javasdk/bin:$PATH". That would get the right
java
binaries in the path.

Right below that I would add JAVA_HOME="/path/to/javasdk" and then
export
JAVA_HOME

I find that to be the simplest way of getting java up and going.
Without it
getting tomcat to run is just going to be frivolous.


Chris Berthold
IT Systems Analyst
Commercial Refrigerator Door Company
941 . 371 . 8110 x 205


>
The information on this e-mail including any attachments relates to the official business of DigiCare (Pty) Ltd. The information is confidential and legally privileged and is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised and as such any disclosure, copying, distribution or any action taken or omitted in reliance on it is unlawful. Please notify the sender immediately if it has inadvertently reached you and do not read, disclose or use the content in any way. 
>
No responsibility whatsoever is accepted by DigiCare (Pty) Ltd if the information is, for whatever reason, corrupted or does not reach its intended destination. The views expressed in this e-mail  are the views of the individual sender and should in no way be construed as the views of DigiCare (Pty) Ltd, except where the sender has specifically stated them to be the views of DigiCare (Pty) Ltd.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org