I forgot to say that my function in Java returns a double array.
Thanks
> Hello
> I'm trying (without sucess :( ) to get a double array form Java using
[quoted text clipped - 16 lines]
> please help me?
> Thanks
> I'm trying (without sucess :( ) to get a double array form Java
> using JNI.
[...]
> *jacj = env->CallDoubleMethod(res_gradObj, getdataMetID);
>
> I'm almost sure that the problem is in the last line. Can someone
> please help me?
"Array of double" is not a primitive type. Use CallObjectMethod()
instead:
jdoubleArray jacj = CallObjectMethod(...);
/gordon

Signature
[ don't email me support questions or followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
Edsoncv - 17 Aug 2006 16:48 GMT
Ok, it worked. Thanks again.!! :)
> > I'm trying (without sucess :( ) to get a double array form Java
> > using JNI.
[quoted text clipped - 14 lines]
> [ don't email me support questions or followups ]
> g o r d o n + n e w s @ b a l d e r 1 3 . s e