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



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?

Thanks

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

Cc:
Bcc:
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 directly
( which is how RPG invokes the jvm), its up to the caller to provide a full
classpath and expand any wildcards required.

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

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


https://stackoverflow.com/questions/9320619/can-jni-be-made-to-honour-wildcard-expansion-in-the-classpath

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




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.