So I need the C code compiled on to the system class path .
I'm not sure what you mean by that - C has no concept of class paths.
If you include your C code as an executable, then Runtime.exec can just execute it. What problem are you facing in particular?