On Fri, Apr 06, 2001 at 01:18:59PM -0700, Jerry Asher wrote:
> 1.  What should JAVA_HOME be set to?

JAVA_HOME isn't required for anything - it had an important role
under JDK1.1, but that's no longer the case. The usual convention
is that it points to the top of your SDK or JRE installation - that
is, either to /usr/java/jdk1.3<whatever> if you install an SDK, or
/usr/java/jre1.3<whatever> if you install a JRE. Although the SDK
and JRE installations don't care about that variable, there are lots
of scripts lurking about that do.

> 2.  What is tools.jar?

It contains development tools such as the Java compiler - which is
needed for runtime compilation of JSPs.

> 3.  Why the two different lib directories?

The SDK is a superset of the JRE. Things found only in the SDK live in
the jdk1.3/lib directory, things found in both live in the jdk1.3/jre/lib
directory.


Nathan



On Fri, Apr 06, 2001 at 01:18:59PM -0700, 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 161    Tel: (510) 549-2980
> Berkeley, CA 94709                Fax: (877) 311-8688
> 
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


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

Reply via email to