Jignesh Shah wrote: > When I use our application with tomcat 5.5.12 it seems > it does not need a javac ,I mean I can get it running > with a jre as JAVA_HOME, however for some reasons we > cant use 5.5.12 and when I try to use an older version > of tomcat 5.0.28 or 4.1.31 it says that the jre wont > be sufficient at JAVA_HOME as it needs javac also to > compile the jsp. Any way I can get tomcat 5.0.28 or > 4.1.31 running with jre as JAVA_HOME.
Tomcat 5.5.x comes bundeled with Eclipse's java compiler. That's why for 5.5.x a JRE is enough. Tomcat < 5.5 uses the java compiler from the JDK, so pointing JAVA_HOME to a JRE is not enough for those versions. But IIRC, it might be sufficient to copy the tools.jar from a JDK into Tomcat's classpath to get it running with a JRE nonetheless. Regards mks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]