Ashish Kulkarni wrote:
> Hi,
> I am trying to call a java program from RPGLE, but i
> get method not found error
> javax/xml/parsers/SAXParserFactory
> I have jdk1.4.1 installed on AS400 and the program
> works fine when i call it from QSH, i have set
> java.version=1.4 in in
> QIBM/UserData/Java400 folder on AS400
> But i guess when i call the program from RPG it is
> setting to JDK version 1.3 which is also present on
> this machine
> What else setting do i have to modify to look in to
> make it work
> Ashish

Ashish, if you are calling from RPG using the EXTPROC(*JAVA) support,
you are using JNI.  JNI doesn't use the java.version property from (although as far as I know, it uses all the
other properties.)

To get around this, apply an ILE RPG runtime PTF
  V5R1 PTF SI10069
  V5R2 PTF SI10101
and set an environment variable:


Don't forget the terminating semicolon.

The coverletter of the PTF explains more about this environment

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