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



Hi Doug,

I don't know why RUNJVA wouldn't work? Check the CLASSPATH parameter of the RUNJVA command and see if someone changed it to something other than *ENVVAR? Also, you might verify that none of the needed envvars (JAVA_HOME, CLASSPATH, etc) are being set only at the QShell level.

If they are set properly for the CL command line, it should work fine.

On 2/23/2022 12:14 PM, DEnglander--- via RPG400-L wrote:

I was trying to create a "Hello World" program to test parameter passing.
I can compile it with javac [in STRQSH] but when I use the RUNJVA CLASS()
command to execute it, I get a No Class Def Found Error. I checked the
CLASSPATH and one of the directories is pointing to the directory on the
IFS where the compiled class resides. I am not sure why RUNJVA cannot find
it. When I run the program in QSH [Java Hello] it works as I expect.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.