"Or are you saying that IBM would have to do something in the OS?" IBM is
not making any provisions.
With RPG/Java invocations, essentially you need to build the classpath
yourself. In other words, don't use wild cards.

Tarlochan Singh Bimbra ( Tosh )
PartnerWorld for ISVs Technical Support and IBM i Global Support Center

From: Justin Taylor <jtaylor.0ab@xxxxxxxxx>
To: java400-l@xxxxxxxxxxxxxxxxxx
Date: 08/06/2020 12:25 PM
Subject: [EXTERNAL] Re: Re: Wildcards in classpath?
Sent by: "JAVA400-L" <java400-l-bounces@xxxxxxxxxxxxxxxxxx>

When you say "up to the caller", do you mean I have to do something
different in my RPG code? Or are you saying that IBM would have to do
something in the OS?


---------- Forwarded message ----------
From: Tarlochan Bimbra <bimbra@xxxxxxxxxx>
To: Java Programming on and around the IBM i

Date: Wed, 5 Aug 2020 14:21:33 -0500
Subject: Re: Wildcards in classpath?

The wildcard expansion is supported by java launcher.
When not using the java launcher, and using the JNI invocation API
( which is how RPG invokes the jvm), its up to the caller to provide a
classpath and expand any wildcards required.

RUNJVA & QSHELL thus uses java launcher, so it supports the wildcard

Stackoverflow link shows there is similar issue in oracle jdk. Seems it's
not an IBM specific issue.


Tarlochan Singh Bimbra ( Tosh )
PartnerWorld for ISVs Technical Support and IBM i Global Support Center

This is the Java Programming on and around the IBM i (JAVA400-L) mailing
To post a message email: JAVA400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,

or email: JAVA400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

Help support midrange.com by shopping at amazon.com with our affiliate

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.