RE: Re: Wildcards in classpath?

"Tarlochan Bimbra" <bimbra-r/[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <OF28B64FE1.62BEDFD4-ON002585BC.00750FB9-862585BC.00758061@notes.na.collabserv.com>
"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 <[email protected]>
To:	[email protected]
Date:	08/06/2020 12:25 PM
Subject:	[EXTERNAL] Re: Re: Wildcards in classpath?
Sent by:	"JAVA400-L" <java400-l-bounces-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org>



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-r/[email protected]>
> To: Java Programming on and around the IBM i
<[email protected]
> >
> 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://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_9320619_can-2Djni-2Dbe-2Dmade-2Dto-2Dhonour-2Dwildcard-2Dexpansion-2Din-2Dthe-2Dclasspath&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=WOb2SOjiTsNRXclCYG7V71axpoWHd1Zf_QazPfuXIrg&m=vIovt77ukTFsiZo_TcRKtpyg53CPd6bZidUO7oww6Xg&s=S_go-rvYet4b6mTkSRuBjuVcg-cDOpHqfkJ1sSnmwe0&e=

>
> 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
list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_java400-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=WOb2SOjiTsNRXclCYG7V71axpoWHd1Zf_QazPfuXIrg&m=vIovt77ukTFsiZo_TcRKtpyg53CPd6bZidUO7oww6Xg&s=2ji9CHErhHk-hialmlWCw0VI_--yCzIFmsieDC9klwk&e=

or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_java400-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=WOb2SOjiTsNRXclCYG7V71axpoWHd1Zf_QazPfuXIrg&m=vIovt77ukTFsiZo_TcRKtpyg53CPd6bZidUO7oww6Xg&s=xyRs8lg0qvzdzPWzIzmkhqxDRKNDM09QxJ69hIpDGr8&e=
 .

Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=WOb2SOjiTsNRXclCYG7V71axpoWHd1Zf_QazPfuXIrg&m=vIovt77ukTFsiZo_TcRKtpyg53CPd6bZidUO7oww6Xg&s=um0ZPj-4CAzocOTQc6meTdohfIJC4EuJUj0VGfzGntQ&e=




-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
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.