RE: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread Scott Shorter

That did the trick!  I had an older version of tools.jar in
$CATALINA_HOME/common/lib.  I moved the new one from $JAVA_HOME/jre/lib
to there, and the problem went away.

Regards,
Scott

> -Original Message-
> From: Attila Szegedi [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, March 07, 2002 10:13 AM
> To: Tomcat Users List
> Subject: Re: Upgrade to JDK1.4 --> unable to compile JSPs
> 
> 
> To be more precise, I was thinking about the inclusion of the 
> tools.jar in Tomcat 4 - AFAIK Sun has loosened the licensing 
> for redistribution of tools.jar for the very reason of its 
> inclusion in Tomcat 4 so that it can fully run in a presence 
> of a JRE instead of JDK (as was the case previously). Again, 
> maybe I have false memories...
> 
> Attila.
> 
> --
> Attila Szegedi
> home: http://www.szegedi.org
> 
> 
> - Original Message -
> From: "Martin van den Bemt" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: 2002. március 7. 15:59
> Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
> 
> 
> > it doesn't indeed, because if you that you would be breaking license
> rules.
> >
> > Mvgr,
> > Martin
> >
> > > -----Original Message-----
> > > From: Attila Szegedi [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, March 07, 2002 16:01
> > > To: Tomcat Users List
> > > Subject: Re: Upgrade to JDK1.4 --> unable to compile JSPs
> > >
> > >
> > > Correct me if I'm wrong, but doesn't Tomcat 4 
> distribution come with 
> > > bundled javac?
> > > I'd expect JSP compiler uses the bundled (presumably 1.3) 
> javac and no
> > > tweaking of your classpath will help...
> > >
> > > Just my 2c
> > > Attila.
> > >
> > > --
> > > Attila Szegedi
> > > home: http://www.szegedi.org
> > >
> 
> 
> --
> 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]>




RE: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread Scott Shorter

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

I actually kick off Tomcat from an ant target:

  

  

  

>   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).  

Nope.

$ java -fullversion
java full version "1.4.0-b92"

> 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.

I don't think that's it.

Thanks, though.
-
Scott


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread Attila Szegedi

To be more precise, I was thinking about the inclusion of the tools.jar in
Tomcat 4 - AFAIK Sun has loosened the licensing for redistribution of
tools.jar for the very reason of its inclusion in Tomcat 4 so that it can
fully run in a presence of a JRE instead of JDK (as was the case
previously). Again, maybe I have false memories...

Attila.

--
Attila Szegedi
home: http://www.szegedi.org


- Original Message -
From: "Martin van den Bemt" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: 2002. március 7. 15:59
Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs


> it doesn't indeed, because if you that you would be breaking license
rules.
>
> Mvgr,
> Martin
>
> > -Original Message-
> > From: Attila Szegedi [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 07, 2002 16:01
> > To: Tomcat Users List
> > Subject: Re: Upgrade to JDK1.4 --> unable to compile JSPs
> >
> >
> > Correct me if I'm wrong, but doesn't Tomcat 4 distribution come
> > with bundled
> > javac?
> > I'd expect JSP compiler uses the bundled (presumably 1.3) javac and no
> > tweaking of your classpath will help...
> >
> > Just my 2c
> > Attila.
> >
> > --
> > Attila Szegedi
> > home: http://www.szegedi.org
> >


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




Re: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread David Smith

I saw this issue with Cocoon 2.  The cocoon.war file includes javac.jar in 
WEB-INF/lib which is not compatible with jdk 1.4.  Something very similar 
might be happening here.  Check the directories for a tools equivalent .jar 
file built for use with jdk1.3.

Hope this helps...

--David

On Thursday 07 March 2002 08:58 am, you wrote:
> The ONLY way you get this message is to use a JVM 1.4 JAR file with
> a previous version.  If you have only one JVM installed it is NOT 1.4.
>
>   Randy
>
> > -Original Message-
> > From: Scott Shorter [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 07, 2002 9:36 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
> >
> >
> > Randy and Ralph,
> >
> > Thanks for you quick replies.
> >
> > I've quadruple checked - I deleted all JDKs and JVMs on my machine
> > except for the one I just installed.  The problem remains, unmodified.
> >
> > Is it possible that some of my jar files need updating?
> >
> > Thanks,
> > Scott
> >
> > > -Original Message-----
> > > From: Randy Layman [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, March 07, 2002 8:42 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
> > >
> > >
> > >
> > >   Double (and triple check) that you are really running
> > > Tomcat with JDK 1.4.  This error message is only generated by
> > > older JVMs when presented with newer JAR files (i.e. a 1.3
> > > JVM trying to read a 1.4 JAR file).
> > >
> > >   Randy
> > >
> > > > -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:tomcat-user-> [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]>

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




RE: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread Jarecsni János

what do you mean by "1.3 javac"? AFAIK sun.tools.javac.Main is called. which
is in the tools.jar loaded from the bootstrap classpath.

cheers,
J

|-Original Message-
|From: Attila Szegedi [mailto:[EMAIL PROTECTED]]
|Sent: Thursday, March 07, 2002 4:01 PM
|To: Tomcat Users List
|Subject: Re: Upgrade to JDK1.4 --> unable to compile JSPs
|
|
|Correct me if I'm wrong, but doesn't Tomcat 4 distribution come
|with bundled
|javac?
|I'd expect JSP compiler uses the bundled (presumably 1.3) javac and no
|tweaking of your classpath will help...
|
|Just my 2c
|Attila.
|
|--
|Attila Szegedi
|home: http://www.szegedi.org
|
|
|> |-Original Message-
|> |From: Scott Shorter [mailto:[EMAIL PROTECTED]]
|> |Sent: Thursday, March 07, 2002 3:36 PM
|> |To: 'Tomcat Users List'
|> |Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
|> |
|> |
|> |Randy and Ralph,
|> |
|> |Thanks for you quick replies.
|> |
|> |I've quadruple checked - I deleted all JDKs and JVMs on my machine
|> |except for the one I just installed.  The problem remains, unmodified.
|> |
|> |Is it possible that some of my jar files need updating?
|> |
|> |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]>




RE: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread Martin van den Bemt

it doesn't indeed, because if you that you would be breaking license rules.

Mvgr,
Martin

> -Original Message-
> From: Attila Szegedi [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 07, 2002 16:01
> To: Tomcat Users List
> Subject: Re: Upgrade to JDK1.4 --> unable to compile JSPs
> 
> 
> Correct me if I'm wrong, but doesn't Tomcat 4 distribution come 
> with bundled
> javac?
> I'd expect JSP compiler uses the bundled (presumably 1.3) javac and no
> tweaking of your classpath will help...
> 
> Just my 2c
> Attila.
> 
> --
> Attila Szegedi
> home: http://www.szegedi.org
> 
> 
> > |-Original Message-
> > |From: Scott Shorter [mailto:[EMAIL PROTECTED]]
> > |Sent: Thursday, March 07, 2002 3:36 PM
> > |To: 'Tomcat Users List'
> > |Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
> > |
> > |
> > |Randy and Ralph,
> > |
> > |Thanks for you quick replies.
> > |
> > |I've quadruple checked - I deleted all JDKs and JVMs on my machine
> > |except for the one I just installed.  The problem remains, unmodified.
> > |
> > |Is it possible that some of my jar files need updating?
> > |
> > |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]>




Re: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread Attila Szegedi

Correct me if I'm wrong, but doesn't Tomcat 4 distribution come with bundled
javac?
I'd expect JSP compiler uses the bundled (presumably 1.3) javac and no
tweaking of your classpath will help...

Just my 2c
Attila.

--
Attila Szegedi
home: http://www.szegedi.org


> |-Original Message-
> |From: Scott Shorter [mailto:[EMAIL PROTECTED]]
> |Sent: Thursday, March 07, 2002 3:36 PM
> |To: 'Tomcat Users List'
> |Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
> |
> |
> |Randy and Ralph,
> |
> |Thanks for you quick replies.
> |
> |I've quadruple checked - I deleted all JDKs and JVMs on my machine
> |except for the one I just installed.  The problem remains, unmodified.
> |
> |Is it possible that some of my jar files need updating?
> |
> |Thanks,
> |Scott
> |


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




RE: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread Jarecsni János

Hi,

I had something similar (Win2K, Cygwin :). I had to do some minor
modifications in the startup srcipt to amend the situation:

1) as it seems JAVA_HOME is read by the executing JVM to resolve the place
of the bootstrap classes
set JAVA_HOME=c:\jdk1.4.0

2) calling explicitly the appropriate java.exe
%JAVA_HOME%\bin\java blahblah...

hope this helps

Janos




|-Original Message-
|From: Scott Shorter [mailto:[EMAIL PROTECTED]]
|Sent: Thursday, March 07, 2002 3:36 PM
|To: 'Tomcat Users List'
|Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
|
|
|Randy and Ralph,
|
|Thanks for you quick replies.
|
|I've quadruple checked - I deleted all JDKs and JVMs on my machine
|except for the one I just installed.  The problem remains, unmodified.
|
|Is it possible that some of my jar files need updating?
|
|Thanks,
|Scott
|
|> -Original Message-
|> From: Randy Layman [mailto:[EMAIL PROTECTED]]
|> Sent: Thursday, March 07, 2002 8:42 AM
|> To: 'Tomcat Users List'
|> Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
|>
|>
|>
|>  Double (and triple check) that you are really running
|> Tomcat with JDK 1.4.  This error message is only generated by
|> older JVMs when presented with newer JAR files (i.e. a 1.3
|> JVM trying to read a 1.4 JAR file).
|>
|>  Randy
|>
|> > -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:tomcat-user-> [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]>
|
|


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




RE: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread Randy Layman


The ONLY way you get this message is to use a JVM 1.4 JAR file with
a previous version.  If you have only one JVM installed it is NOT 1.4.

Randy

> -Original Message-
> From: Scott Shorter [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 07, 2002 9:36 AM
> To: 'Tomcat Users List'
> Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
> 
> 
> Randy and Ralph,
> 
> Thanks for you quick replies.
> 
> I've quadruple checked - I deleted all JDKs and JVMs on my machine
> except for the one I just installed.  The problem remains, unmodified.
> 
> Is it possible that some of my jar files need updating?
> 
> Thanks,
> Scott
> 
> > -Original Message-
> > From: Randy Layman [mailto:[EMAIL PROTECTED]] 
> > Sent: Thursday, March 07, 2002 8:42 AM
> > To: 'Tomcat Users List'
> > Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
> > 
> > 
> > 
> > Double (and triple check) that you are really running 
> > Tomcat with JDK 1.4.  This error message is only generated by 
> > older JVMs when presented with newer JAR files (i.e. a 1.3 
> > JVM trying to read a 1.4 JAR file).
> > 
> > Randy
> > 
> > > -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:tomcat-user-> [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]>
> 

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




RE: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread Randy Layman


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]>




RE: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread Scott Shorter

Randy and Ralph,

Thanks for you quick replies.

I've quadruple checked - I deleted all JDKs and JVMs on my machine
except for the one I just installed.  The problem remains, unmodified.

Is it possible that some of my jar files need updating?

Thanks,
Scott

> -Original Message-
> From: Randy Layman [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, March 07, 2002 8:42 AM
> To: 'Tomcat Users List'
> Subject: RE: Upgrade to JDK1.4 --> unable to compile JSPs
> 
> 
> 
>   Double (and triple check) that you are really running 
> Tomcat with JDK 1.4.  This error message is only generated by 
> older JVMs when presented with newer JAR files (i.e. a 1.3 
> JVM trying to read a 1.4 JAR file).
> 
>   Randy
> 
> > -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:tomcat-user-> [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]>




Re: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread D. Jay Newman

If you are using Windows, I would suggest that you totally delete the
Java that came with Windows using the "Add/Remove Programs" from the
Control Panel.

I've had similar problems before with mixed Java setups.

I hope this helps.

> 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.
-- 
D. Jay Newman  !  All:  There's nothing we can't face...
[EMAIL PROTECTED]!  Anya: Except for bunnies...
http://www.sprucegrove.com/~jay/   !-- Buffy, the Musical

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread Scott Shorter

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:   
> For additional commands: 
> Troubles with the list: 
> 


--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




RE: Upgrade to JDK1.4 --> unable to compile JSPs

2002-03-07 Thread Randy Layman


Double (and triple check) that you are really running Tomcat with
JDK 1.4.  This error message is only generated by older JVMs when presented
with newer JAR files (i.e. a 1.3 JVM trying to read a 1.4 JAR file).

Randy

> -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:   
> For additional commands: 
> Troubles with the list: 
> 

--
To unsubscribe:   
For additional commands: 
Troubles with the list: