optimize the jni for sericalcmd of FBCTest