I believe that your problem might stem from a problem in the
catalina.bat file.

        First, from a command prompt, type
java -fullversion
and I believe that you will see a response indicating JVM 1.3 or before (not
1.4).  Edit your path statement so that the 1.4 JDK is before the other JVMs
and try the above command again.  Once you get the 1.4 version of java to be
the default version Tomcat should work correctly.

        The problem seems to be that catalina.bat doesn't use the absolute
path to the JVM.

        Randy  

> -----Original Message-----
> From: Scott Shorter [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 07, 2002 9:27 AM
> To: 'Tomcat Users List'
> Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
> 
> 
> Okay, I look again and find information, but it doesn't seem to be
> enough to fix the problem.
> 
> Just to follow up:
> 
>   I did set my JAVA_HOME to the new location.  
>   I did delete all of my tomcat work directories.
> 
> Those were the only items I saw recommended as solutions in the
> archives, but they didn't do the trick.
> 
> Thanks in advance,
> Scott
> 
> > -----Original Message-----
> > From: Scott Shorter [mailto:[EMAIL PROTECTED]] 
> > Sent: Thursday, March 07, 2002 9:12 AM
> > To: 'Tomcat Users List'
> > Subject: Upgrade to JDK1.4 --> unable to compile JSPs
> > 
> > 
> > Hi all,
> > 
> > I've browsed the archives and found people asking this 
> > question, but couldn't find any answers to it, so here goes...
> > 
> > Platform: Win2K + Cygwin
> > Tomcat: 4.0.1
> > 
> > I upgraded to JDK1.4 in order to take advantage of the 
> > java.util.regex package (yay, no reason to use perl again!).  
> > Everything was going swimmingly until it was time to 
> > recompile some JSPs, and I now consistently get errors of the form:
> > 
> > org.apache.jasper.JasperException: Unable to compile class 
> > for JSPerror: Invalid class file format in 
> > C:\cygwin\usr\local\java\jdk1.4\jre\lib\rt.jar(java/lang/Objec
> > t.class).
> > The major.minor version '48.0' is too recent for this tool to 
> > understand.
> > 
> > Any assistance will be greatly appreciated...
> > 
> > Thanks,
> > Scott
> > 
> > 
> > --
> > To unsubscribe:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

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

Reply via email to