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



Shannon O'Donnell wrote:

I've always had to physically set the classpath in the RPG program
itself, right at the top as one of the first thing it does, in order for
the JVM to find the class.  If you try to set it at the environment
level outside of the program, it just never seems to work right.


I never set the classpath in the RPG program.  If you set it in each RPG
program, you are eventually going to run into a problem where the JVM
already exists, and the classpath being used doesn't include the
directories for your current RPG program.  You can't change the
classpath once the JVM has been started.

Maybe you were setting your environment variable in your job, and then
submitting your RPG program.  If you do that, then you have to make sure
you use SBMJOB CPYENVVAR(*YES).


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.