> From: Lakshmi Narayanan K. [mailto:[EMAIL PROTECTED] > Subject: Re: How to run tomcat without specifying a JDK location? > > 1) What is the role of the tools.jar file? Does it help in compilation > of JSP's? I mean, is tools.jar enough to compile JSP's without a JDK?
Among other things, tools.jar contains the various class files that comprise javac, so that's all you need to compile .java files. In order to translate JSPs into Java source, you need jasper, and that's already part of the Tomcat distribution. I think you can just put tools.jar into common/lib, but I haven't actually tried it. You can also just create a lib directory under the directory JAVA_HOME points to, and put tools.jar there (I have done that). > Can we modify the service parameters (using tomcat5w) to point > to the JRE's jvm.dll? Is that just enough? I think that's all that's needed, but I don't have a 5.0.x level installed on any of my Windows boxes any more to verify that. I seem to recall that the executable was just tomcatw in 5.0.x, but I'm not sure. Why don't you just try it? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
