|
On 10 November 2015 at 21:14, Darryl Freinkel
<dfreinkel@xxxxxxxxxxxxxxxxx> wrote:
I see the JVM in the job log.way to
The job log does not show which path is being used. Is there a
simple
determine if the CLASSPATH was loaded correctly or to see what pathbeing
is
used?
java *version will tell you the JVM that's being used.
As for the CLASSPATH, use WRKENVVAR.
There is one thing to be very aware of: The CLASSPATH is read exactly
one time during a job, and that is when the JVM is started for the
first time. This means that interactive testing is clumsy, because if
you need to change the CLASSPATH, you need to end the job (sign off)
and start a new one (sign on). For this reason, I almost always test
these Java wrappers with a SBMJOB.
(For the archives, this probably relates to getting HSSF / POI working
in an RPG program, so the Java under discussion is not PASE or QShell,
but from an IBM i command line.)
--buck
--
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.
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.