package JNI. note: does not use base library