FWIW, the RUNJVA CL command can run Java apps and could probably be
substituted for QSH. I haven't used RUNJVA since 7.1 (or earlier),
but when I did it started a new JVM for every call.
We're an RPG shop, so I'd just write an RPG program that would call
all the Java apps, and that would reuse the same JVM. I can't say
about an OS command/API, since I've never needed one.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.