I'm trying to use the JNI to call Win32. This is the code I am using
public class Test {
double pid = 1288;
private static native int TerminateProcess(pid);
public static void main(String args[]){
}
/** @dll.import("USER32") */
Void TerminateProcess(pid);
}
When I try to run this I get an exception.