just a thought..
why dont u write the same logic in java that you want from C. and also if you want to execute some low level or system level stuff that java is not capable of. just create the exe file that does the functionality you want in C and call it from java..and i hope you know how to call it..if not go through api Runtime class