test jni, needs correcting. remove obj and gen files