It appears you are running the 1.4 javac using 1.5 rt.jar library.  Ensure
that you have your compiler (JDK home) set up correctly.

Regards,

Carl 

-----Original Message-----
From: Daxin Zuo [mailto:[EMAIL PROTECTED] 
Sent: 22 November 2005 20:26
To: Tomcat Users List
Subject: JDK Date version 49.0 vs 48.0 problem

I recently download jdk 1.5. When I compile the java code with JBuilder 9, I
get the error:

"CreateCustomer.java": cannot access java.util.Date,bad class file:
C:\Sun\AppServer\jdk\jre\lib\rt.jar\java\util\Date.class,class file has
wrong version 49.0, should be 48.0,Please remove or make sure it appears in
the correct subdirectory of the classpath. at line 3, column 18

My program ran well before with jdk 1.4, and Tomcat 5.

Please help.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to