ask for path

2001-04-08 Thread Liuchao



I have installed JDK1.3.0 in directory 
/usr/java/jdk1.3. and I use echo $PATH, the $JAVA_HOME have not been 
set.
I set $PATH=/usr/java/jdk1.3/bin every 
time when I login in my computer. How can I do to let $PATH have been set 

automatic everytime when I login in my 
linux.
 
Thank you,
Chao Liu
[EMAIL PROTECTED]
2001.4.9


Re: JDK 1.3, Tomcat 3.2.1, and CLASSPATH settings....

2001-04-08 Thread Walter G. da Cruz

Jerry:

1. JAVA_HOME should be /usr/java/jdk1.3.0_02 instead of
/usr/java/jdk1.3.0_02/jre.
2. When you untar jakarta-tomcat, there is a docs document
that tell you how to install tomcat.
3. The jakarta-tomcat-3.2.1/bin contains a startup.sh file
that calls tomcat.sh.  There is a line in tomcat.sh that
calls JAVA_HOME/lib/tools.jar, so you don't have to set it
up.
4. You can find more the libraries in
jakarta-tomcat-3.2.1/lib/ directory.  Make sure that
xerces.jar is the first library called in your classpath.
5. If you have more questions, please:
http://jakarta.apache.org/

Walter

Jerry Asher wrote:
> 
> Two days ago, I installed JDK 1.3.0_02.  Yesterday I installed Tomcat 3.2.1.
> 
> I tried JSPs and they failed.  I found a Tomcat FAQ that suggested I needed
> to add tools.jar to my CLASSPATH.
> 
> So, I added
> 
> JAVA_HOME/lib/tools.jar
> 
> But that didn't work.
> 
> Investigation on my machine shows that
> 
> JAVA_HOME points to /usr/java/jdk1.3.0_02/jre
> 
> there are lots of jar files in $JAVA_HOME/lib such as rt.jar
> 
> But there are also several jar files in
> 
> /usr/java/jdk1.3.0_02/lib such as tools.jar
> 
> So,
> 
> 1.  What should JAVA_HOME be set to?
> 2.  What is tools.jar?
> 3.  Why the two different lib directories?
> 
> 4.  Is there a FAQ for this mailing list (I'd hate to
>  repeat questions that have already been answered.)
> 
> Thank you,
> 
> Jerry Asher
> 
> =
> Jerry Asher   [EMAIL PROTECTED]
> 1678 Shattuck Avenue Suite 161Tel: (510) 549-2980
> Berkeley, CA 94709Fax: (877) 311-8688
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 

"In the middle of the journey of our life, I came |
(408)294-4750
  to myself within a dark wood where the straight |
[EMAIL PROTECTED]
 way was lost." Dante Alighieri, Inferno. |
http://www.wdacruz.com
--|---


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]