× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



In your home/FOXWELL directory, keep a copy of java properties file and amend it to use the Java version on i.
If your java on iseries is 1.4 then your java classes should be at that level.


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of David FOXWELL
Sent: 02 February 2010 08:59
To: java400-l@xxxxxxxxxxxx
Subject: RE: Starting off with POI/HSSF

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.


--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.



Consider the environment and think before you print this email.

Registered Address: Fortis House Tollgate Eastleigh Hampshire SO53 3YA Registered Number: 354568 England
Authorised and regulated by the Financial Services Authority

This e-mail together with any attachments are intended for the addressee only and may be private and confidential. If you are not the intended recipient, or the person responsible for delivering it to the intended recipient, you must not open any attachments, or copy, disclose, distribute, retain or use this e-mail, including any attachments, in any way whatsoever; please return it to us immediately using the reply facility on e-mail.

Consider the environment and think before you print this email.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 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.