> From: "Brandon Cruz" <[EMAIL PROTECTED]>
> Sent: Wednesday, January 29, 2003 7:24 AM
> Subject: How does Tomcat set the classpath???


> I notice that tomcat 4.1.x explicitly sets $JAVA_HOME/lib/tools.jar and
the
> bootstrap.jar file to the classpath, but that seems it.  It overwrites any
> other classpath settings that may be part of the system.  How does the
> compiler know to search for things like $JAVA_HOME/jre/lib/rt.jar?  Are
> these automatically added based on the folder they are in within the
> $JAVA_HOME?  I don't see anything that indicates that within the startup
> scripts (catalina.sh and setclasspath.sh).

$JAVA_HOME/jre/lib/rt.jar is one of the core classes for Java, and is
implicit on the classpath, so it's "Always" there.

Other JAR files can be placed upon the classpath automatically if you follow
the Java Extension Mechanism (which essentially means placing JAR files into
special parts of the JRE/JDK distribution).

Regards,

Will Hartung
([EMAIL PROTECTED])




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to