You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Ken Wong <kt...@cisco.com> on 2000/04/28 04:01:15 UTC

Running Tomcat with jdk1.1.7B

I have downloaded the released version of Tomcat 3.1. Under the Tomcat
Scripts section of the user's guide, it has the following quote,

"%JAVA_HOME%\lib\tools.jar (this jar file contains the tool javac, we need
javac for jsp files)"

According to my understanding, tools.jar is from Java 2 platform. The tomcat
document also claims that it can run under jdk1.1 and I am running Tomcat
with jdk1.1.7B. Here are my questions,

1. Are the classes in tools.jar that are needed by Tomcat contains in
classes.zip of jdk1.1.7B?
2. If I am running Tomcat 3.1 with jdk1.1.7B, will I miss any
functionalities of Tomcat that will be available if running under Java 2?

Thanks,

Ken


Re: Running Tomcat with jdk1.1.7B

Posted by "Craig R. McClanahan" <Cr...@Eng.Sun.COM>.
Ken Wong wrote:

> I have downloaded the released version of Tomcat 3.1. Under the Tomcat
> Scripts section of the user's guide, it has the following quote,
>
> "%JAVA_HOME%\lib\tools.jar (this jar file contains the tool javac, we need
> javac for jsp files)"
>
> According to my understanding, tools.jar is from Java 2 platform. The tomcat
> document also claims that it can run under jdk1.1 and I am running Tomcat
> with jdk1.1.7B. Here are my questions,
>
> 1. Are the classes in tools.jar that are needed by Tomcat contains in
> classes.zip of jdk1.1.7B?

Yes they are.  It is the Java compiler that we need, so that JSP pages can be
compiled, and that is in the classes.zip file in a JDK 1.1 release.

Note also that adding the tools.jar file to the classpath, even when it doesn't
exist (as it won't in a JDK 1.1 environment) does no harm, because the entry is
silently ignored.

>
> 2. If I am running Tomcat 3.1 with jdk1.1.7B, will I miss any
> functionalities of Tomcat that will be available if running under Java 2?
>

At present there are no functionality differences in Tomcat itself depending on
which platform you run it under.  In the future this might change --
particularly with respect to some differences in security managers and class
loaders between the two JVM versions.

>
> Thanks,
>
> Ken
>

Craig McClanahan