I have a C structure.
struct data{ double value1[50]; double value2[50]; int count; };
I want to map data from java to this C
You can probably get this to work with JNI, but personally, I'd rather have hot needles stuck in my eyes than work with JNI. I personally find Java Native Access (JNA) to be much easier to use.