John, According to this document, bootstrap.jar contains the basic runtime classes provided by the Java Virtual Machine. That does not seem correct. In Sun's JDK, rt.jar contains most of the basic runtime classes. How does that get loaded? Does the VM take care of this on it's own somehow?
I see also that tools.jar is loaded from $JAVA_HOME/lib, but still, when is rt.jar loaded? Brandon -----Original Message----- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 9:33 AM To: 'Tomcat Users List' Subject: RE: How does Tomcat set the classpath??? How Tomcat finds classes: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html John > -----Original Message----- > From: Brandon Cruz [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 10:25 AM > To: Tomcat Users List > 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). > > Any info would be appreciated. > > Brandon > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
