That class file was compiled with JDK 5.0
See http://blogs.sun.com/sundararajan/entry/java_class_ic_errors
On Mar 29, 2007, at 2:25 PM, Karr, David wrote:
Obviously, I was wrong to refer to this as the scratchpad jar.
It's the
main poi jar.
-----Original Message-----
From: Karr, David
Sent: Thursday, March 29, 2007 12:06 PM
To: POI Users List
Subject: Getting "class file has wrong version" error on
poi-scratchpad-3.0-rc2 jar
I'm trying to use 3.0rc2, and I'm trying to use the
scratchpad jar for the first time. I'm using JDK 1.4.2.
When I try to compile my code with Ant, I get the following:
bad class file:
...\lib\poi-3.0-rc2-20070329.jar(org/apache/poi/hssf/model/Wor
kbook.clas
s)
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.
import org.apache.poi.hssf.model.Workbook;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/