I try to call a java main from rpgle program. I have set directory and classpath correctly and I actually managed to call java method/main from a .class file.
However, I have no clue at all on how to call a main method from a .jar file in rpgle. This is what I get from error message:
"received Java exception "java.lang.NoClassDefFoundError:
com.tl.TL" when calling method "main" with signature
"([Ljava.lang.String;)V" in class "com/tl/TL".
Appreciate someone could show me the light in the tunnel.... Thank you!
CLASSPATH no doubt is a sensitive matter... Defining a correct CLASSPATH will determine 50% of the succeed of executing a working program.