Is there a way to use JNI and C # code to create a program that calls any given Java method? Suppose I have a jar containing a hierarchy of classes, and I am responsible for loading the JVM and these classes, can I write a C # program that receives the values โโof the signature of the java method + arguments on the fly and calls the Java code?
Please try to limit your answers to free technologies (preference is given to JNI solutions).
java c # interop jni
Guy
source share