I'm fairly new to powerbuilder, but when trying to get a PBNI to java example program running to get an understanding of the PBNI -> C++ -> JNI interface, I'm getting an error that i can't figure out. It should be noted that the example programs for PBNI to Java haven't been updated in nearly a decade and were written for PB9. The error message I get happens at the line i_jvm.createjavaobject(conv, "Converter", "converter") and results in the error message "Error: Error calling method of PBNI object".
Does anyone have any working code examples of how to interface PowerBuilder -> Java or vice-versa? Thanks for the help!