I am using Java and Linux to develop an application. I need to access a structure in the driver code written in C. Could anyone help me in passing the arguments from Java to C using JNI? I have implemented JNI and accessed drivers in C from java but I am not able to access the structure elements.