Manually use jni for jeigen