hi
i am getting following error when i tying to run cobol program that calls java code although its working fine when tried at some other location.
error:
Exception 65538 not trapped by the class javaexceptionmanager.
Description: "Java runtime exception"
Method 'setVal' with signature Ljava/lang/String; not found
Hit T to terminate program. Hit any other key to continue.
after i press enter it works fine.
this is the java code
i was confused in which section i should put this question......if this is not the rigth section mods plz move it to appropriate section.
Method 'setVal' with signature Ljava/lang/String; not found
Hit T to terminate program. Hit any other key to continue.
Are you using JNI? By the way, the message seems to suggest setVal() is a method which accepts a String object, but setVal() in your code accepts an int. Probably this is why the message comes up?