Hi Eric
The classpath value at job level is
CLASSPATH '/POI2/poi2.jar'
On the attach file you find a jpg of the root structure
Thanks Basilio
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of DeLong, Eric
Sent: venerdANOT 7 dicembre 2007 23.15
To: RPG programming on the AS400 / iSeries
Subject: RE: classpath problem
Can you show the classpath you are trying to use? Since OS400 invokes
Java only once per job, you must ensure that you set your classpath
correctly before you run any java.
Eric
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Basilio Merlino
Sent: Friday, December 07, 2007 3:18 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: R: classpath problem
Hi Eric
What i want to do is not to put the jar file on the ext directory but
to
use the /Poi2/ directory under the root.
But the CLASSPATH enviroment variable set at job level dont' work. If
i
use the Poi2 directory with the classpath enviroment variable i have a
java exception error
realy i don't understand what happen
Thanks
Basilio
-----Messaggio originale-----
Da: rpg400-l-bounces@xxxxxxxxxxxx per conto di DeLong, Eric
Inviato: ven 07/12/2007 17.00
A: RPG programming on the AS400 / iSeries
Oggetto: RE: classpath problem
Java has two classpath properties, system and user. The
/QIBM/UserData/Java400/ext directory is part of the system classpath,
which is searched before the user classpath. IMO, one need to be very
careful when putting jars into /ext...
hth,
Eric
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Basilio Merlino
Sent: Friday, December 07, 2007 10:57 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: classpath problem
Dear all
I have a very strange situation about the classpath setting.
I have set the classpath to the value
CLASSPATH '/Poi2/poi2.jar'
But the iseries ignore this information and use always the jar file
present on the /QIBM/UserData/Java400/ext directory
Do you have an idea why this happen ?
Thanks in advance for your support
--
This is the RPG programming on the AS400 / 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.
--
This is the RPG programming on the AS400 / 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.
--
This is the RPG programming on the AS400 / 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.
--
This is the RPG programming on the AS400 / 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.