re-fixing jni

Signed-off-by: degrigis <fbi.gritti@gmail.com>