This is one of the first things I checked. The startup.bat refers to
catalina.bat which uses JAVA_HOME to set up the initial CLASSPATH. The
CLASSPATH refers to the correct tools.jar for either JDK1.3 or 1.4
scenarios.

One thing to add is that when I went reverted to Tomcat under JDK1.3 I
decided to keep my application jars as they were ie as built under JDK1.4.

Tomcat soon fell over with various low level class-related errors. Afai
could see this meant I could not run JDK1.4 classes in a JDK1.3 jvm.

Can the opposite be true? Is there an issue with JDK1.4 being unable to run
class files which have been built using an older java compiler? I blooming
well hope not !! 
 


> -----Original Message-----
> From: Jeff Larsen [mailto:[EMAIL PROTECTED]]
> Sent: 05 April 2002 16:40
> To: Tomcat Users List
> Subject: Re: JSP compilation exceptions thrown for Tomcat4 and JDK1.4 
> 
> 
> Make sure your CLASSPATH under which Tomcat runs is not
> still referencing any jars (most likeley tools.jar) from
> the JDK1.3 installation.
> 
> ----- Original Message ----- 
> From: "Bedia, Bharat" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, April 05, 2002 2:42 AM
> Subject: JSP compilation exceptions thrown for Tomcat4 and JDK1.4 
> 
> 
> > Hi All,
> > I'm using Tomcat4. I previously used JDK1.3 with great success. I've
> > recently upgraded to JDK1.4 and am experiencing problems in that an:
> > - "Unable to compile class for JSP": 
> org.apache.jasper.JasperException 
> > 
> > is being thrown with a root cause of:
> > - "Invalid class file format in c": java.lang.NumberFormatException
> > 
> > I use my own tags libraries and other software which I 
> recompiled under
> > JDK1.4 beforehand.
> > 
> > If I switch back to JDK1.3 then everything works!
> > 
> > Can anyone help? Thanks in advance,
> > 
> > Bharat


********************************************************************** 
This communication is confidential and is intended only for 
the person to whom it is addressed.  If you are not that person you
are not permitted to make use of the information and you are requested 
to notify <mailto:[EMAIL PROTECTED]> immediately that 
you have received it and then destroy the copy in your possession.
Commerzbank AG is regulated by the FSA for the conduct of investment
business in the UK.
**********************************************************************


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to