refactored jni workflow
removed useless imports