Ok thanks all.

Installed the older poi 3.0.1 as I don't see how to get the
JVM version. By the way, apparently it's possible to indicate
which version of JVM to use with a parameter if several
versions are installed. Anyone know that syntax?

Now my problem seems to be CLASSPATH as I'm getting a class
not found error.

Here's my classpath value :
Value . . . . . . . . . :
'/home/FOXWELL/java/jars:/POI-3.0.1-FINAL-20070705.
JAR:/POI-CONTRIB-3.0.1-FINAL-20070705.JAR:/POI-SCRATCHPAD-3.0.
1-FINAL-20070705.J
AR:.'



I'm not sure about this. My current directory when I sign on
is /home/FOXWELL. Can someone indicate if I have the right CLASSPATH?




-----Message d'origine-----
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de
Scott Klement
Envoyé : mardi 26 janvier 2010 18:52 À : Midrange Systems Technical
Discussion Objet : Re: Starting off with POI/HSSF

Hi David,

It appears that you are using a version of Java that's too
old for the
version of POI that you downloaded. (That's what
UnsupportedClassVersionError means)

Either use a newer JVM or an older POI jar.

-SK


On 1/26/2010 6:56 AM, David FOXWELL wrote:

Hi, I've installed poi-3.6-20091214.jar and hssfr4.rpgle
dated 10/7/2007 and getting a compatibility error :


Cause . . . . . : La procédure RPG XLCRTDEMO du programme
FOXWELL/XLCRTDEMO a
reçu une erreur Java "java.lang.UnsupportedClassVersionError:
org/apache/poi/hssf/usermodel/HSSFWorkbook" en appelant
la méthode "<ini"
avec la signature "" dans la classe
"org.apache.poi.hssf.usermodel.HSSFWorkbook".

Is it the version of JAVA on the i or the wrong version of
hssfr4.rpgle? How do I check?

Thanks.

--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list To post a message email:
MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting,
please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.