>
> jclass cls = env->FindClass("Main");
> jmethodID mid = env->GetStaticMethodID(cls, "main", "()V");
>
I'm no expert, but your problem appears to be right
above. You are trying to locate a main method that
takes no args, but your main method in your java program
takes an arr
Hi,
I'm using the code below to invoke the JVM. The code compiles and links Ok. When I
try to run the code, the CallStaticVoidMethod(cls,mid) returns an error (segmentation
violation).
I'm using JDK1.1.7 version 3 and Linux 6.1 (SUSE).
Does anybody know what causes this error ???
Thanks !!
E-Ma