Process p = Runtime.getRuntime().exec("C:\\tc\\bin\\" + prog_name , null);
BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getInputStream()));
System.out.println("Here is the standard op :\n");
s1=stdError.readLine();


i have this code can anyone tell me how to run c program using java
thanks !