Be aware that once your JVM starts, the classpath is set. If you started
the JVM earlier in any other way in your sessions, then the classpath could
have been wrong for your spreadsheet program. For this reason, I try to
run java programs in batch as much as possible. I even use the spawn()
routine to run in batch and wait for completion to simulate interactive
functionality.
From: John Rusling <jrusling@xxxxxxxxxxxxxxxxxxx>
To: "'rpg400-l@xxxxxxxxxxxx'" <rpg400-l@xxxxxxxxxxxx>,
Date: 03/07/2013 10:14 AM
Subject: RE: Help -- HSSFR4 suddenly cannot find the pieces it needs. -
Now everything is working!
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
I don't understand why - but now my spreadsheet stuff is working.
It really was NOT working - I tried 3 different programs in 3 different
sessions
and they all crashed.
I don't know what to make of it but am certainly glad it's working . . .
although, I have an uneasy feeling not knowing for certain why
it stopped for awhile this morning.
Thanks to all for your prompt and insiteful assistance!
phew!
John
-----Original Message-----
From: John Rusling
Sent: Thursday, March 07, 2013 8:53 AM
To: 'rpg400-l@xxxxxxxxxxxx'
Subject: RE: Help -- HSSFR4 suddenly cannot find the pieces it needs.
And the poi-3.6 folder contents on the ifs match the one on my PC from last
year when I first downloaded and installed.
John
-----Original Message-----
From: John Rusling
Sent: Thursday, March 07, 2013 8:50 AM
To: 'rpg400-l@xxxxxxxxxxxx'
Subject: RE: Help -- HSSFR4 suddenly cannot find the pieces it needs.
Scott,
The first thing I check was the POI files location in the ifs.
It's where they've always been . . /java/
Object link Type
dom4j DIR
poi3.6 DIR
poi3.8 DIR
readme.txt STMF
xmlbeans DIR
John
It says that it can't find the WorkbookFactory class in your CLASSPATH.
When you did the javap command, it also said the the same thing.
Any chance that your CLASSPATH is wrong? Or someone moved the POI jar
files to a different location?
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.