totally remove jna.
use registernatives to register jni method.