add: java ffi sample