add JNI code in MR+ to mrv2