|
One common misunderstanding, I've had it too, is that if you
give a generic path to a directory containing libraries (JAR's)
that each one will be loaded in the classpath. You have to
explicitly indicate which JAR's you want in your classpath.
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.
> >
As an Amazon Associate we earn from qualifying purchases.
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.