Yes, if your jvm running tomcat is 1.2 then your code runs in a 1.2 jvm ...
in fact, it's the same jvm.
I don't know what 1.2 dependencies that tomcat may or may not have. Though I
gather that some people do run it on 1.1.8
James
-----Original Message-----
From: Mike Haberman [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 27, 2000 3:30 PM
To: [EMAIL PROTECTED]
Subject: Re: clarification of my understanding of tomcat
So that means that if tomcat is run under 1.2, then the servlets
that it runs are also run under a 1.2 jvm ?
Is there any thing in tomcat that depends on 1.2 ?
thanks!
mike
On Fri, Oct 27, 2000 at 02:20:48PM -0700, James House wrote:
>
> All of this depends more on your code than on tomcat.
>
> A 1.2 jvm should be able to run any 1.1 code.
> A 1.1 jvm should be able to run most 1.2 code, but it first has to be
> compiled with a 1.2 compiler.
>
> It sounds as if your java 1.2 for freebsd is buggy, nearly everyone uses a
> version of java 1.2 with tomcat.
>
> James
>
> -----Original Message-----
> From: Mike Haberman [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 27, 2000 3:08 PM
> To: [EMAIL PROTECTED]
> Subject: clarification of my understanding of tomcat
>
>
> Can someone tell me if it's possible to mix web applications
> that have been build with different jdks than what jvm tomcat
> runs under?
>
> Can tomcat run under jvm 1.1.x and serve up jdk1.2 apps?
> Can tomcat run under jvm 1.2 and serve up jdk1.1.x apps?
>
> What is the recommended jvm to use with tomcat?
>
> I just installed 3.1 under freebsd. Seems to work under 1.1.8
> but not 1.2.
>
>
> Thanks to those who can clarify this for me.