I have j2sdk1.4.2. Exact version information as follows.
java version 1.4.2
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
On Tomcat 4.0-b7, Tomcat 5.0.7 Tomcat 5.0.19 JSP pages couldn't
compile while servlets works
Hi.
Sounds to me like your jar files are compiled under different JDKs. Be
sure when you install j2sdk1.4.2 to completely replace all files in the
JDK directory. I'd actually go so far as to clean install in a separate
directory (ie /usr/java/j2sdk1.4.2_04) and then symlink j2sdk to it.
From: JavaNetIn [mailto:[EMAIL PROTECTED]
Subject: Bad Class Version while compiling JSP Files on Tomcat
bad class file: D:\j2sdk1.4.2\jre\lib\rt.jar(java/lang/Object.class)
class file has wrong version 48.0, should be 47.0
This error message is one generated by the javac compiler