Re: Setting (bery long) classpath from rpg

Buck Calabro <[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <[email protected]>
On 5/23/2018 3:36 PM, Paul Roy wrote:
> I must call this class from RPG and I do not find any reference to generic 
> ClassPath support 

I'm not where I can check right now, but I have a memory of using a
generic CLASSPATH, although it might not have been within an RPG program.

> ADDENVVAR  CLASSPATH  '/javalibs/*:.:./:/javarun/bin/:' do not work and 
> seems limited to 1024 chars... 

One thing I always learn over and over: when testing CLASSPATH, I need
to sign off and on again.  Because once the JVM starts, the CLASSPATH is
locked in place until the job ends.

At this point, I almost never run tests like this interactively; I write
a CLP and SBMJOB so that I always get a fresh JVM.

-- 
  --buck

http://wiki.midrange.com
Your updates make it better!

-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: JAVA400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.