× 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.



Buck,

I think what he's asking is what classpath was used at runtime... the
WRKENVVAR works, but it won't show you the proper classpath used if it's
been changed after the JVM starts.

Wouldn't the JVM have that available somewhere?

Brad
www.bvstools.com

On Wed, Nov 11, 2015 at 8:26 AM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:

On 10 November 2015 at 21:14, Darryl Freinkel
<dfreinkel@xxxxxxxxxxxxxxxxx> wrote:
I see the JVM in the job log.

The job log does not show which path is being used. Is there a simple
way to
determine if the CLASSPATH was loaded correctly or to see what path is
being
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 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.