Why exactly? Running a JDK that is 2 versions back tends to be a rather large faux pas as well. Is there still a platform that 1.5 isn't available for?

Karr, David wrote:
I assume you're only half serious.  Dropping 1.4.2 at this point would
be a big mistake.  In any case, I tried manually building the jars from
source with JDK 1.4.2, and it works fine.
-----Original Message-----
From: Andrew C. Oliver [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 12:47 PM
To: POI Users List
Subject: Re: Getting "class file has wrong version" error on poi-scratchpad-3.0-rc2 jar

yeah unless we've dropped 1.42 then it should be compiled on 1.42.
So the last build is invalid or we need a vote to drop 1.42 and req 5+

-andy

David Fisher wrote:
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/
--
From Windows/Exchange to Linux/Meldware
Buni Meldware Communication Suite
Email, Calendaring, ease of configuration/administration http://buni.org


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


--
From Windows/Exchange to Linux/Meldware
Buni Meldware Communication Suite
Email, Calendaring, ease of configuration/administration
http://buni.org


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

Reply via email to