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



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

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.