java jni wrapper for winchecker