File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes to run C program in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "to run C program in Java" Watch "to run C program in Java" New topic
Author

to run C program in Java

Priya mathi
Greenhorn

Joined: Nov 15, 2000
Posts: 4
in Linux i run C as ./<filename>
the same program i want to run from Java
In java i tried using exec("./filename>")
i did'nt get any response.
how should i run
Ravi Siva
Greenhorn

Joined: Dec 03, 2005
Posts: 1
Priya,

Ravi here... mail me at ravi_siva@canada.com or MSN me at rsivananthan@hotmail.com PLEASE!

I am software engeer... and I will help you. If you are Priya Mathibalan.
Thank you Priya.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35253
    
    7
The Java Intermediate FAQ links to an article that describes how to properly use Runtime.exec(). There are some aspects to it that are not obvious and often cause problems. But it works well in general.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: to run C program in Java
 
Similar Threads
Tomcat is *almost* running
Pls make my Tomcat Running..
Tomcat is not running.. pls help
classpath
Pls make my Tomcat Running..