pack .so file into a jar file