do not package java jni twice