i have a native method int sum(int *,int *)
.How do i pass the parameters for this method from java side.
Edit:the example method which i ran successfully is double gsl_stats_mean(doubleArray,int,int); this method is available in GSL ,for that i have created shared object and from java side i had sent required parameters and i got the double as a return value.