It's not a secret anymore!*
The moose likes Servlets and the fly likes C execute in java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

C execute in java program

chandu joshi
Greenhorn

Joined: Sep 15, 2005
Posts: 12
There is a particular command in Runtime.exec() to execute C exe which i not known tell me.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Runtime.exec runs an executable.
What difference should it make whether it's written in C or any other language?

If you want to call C funtions directly from Java, look up JNI.
Otherwise, please explain what it is that you're trying to do and what problems you're running into rather than repeatedly posting the same question.
[ October 01, 2005: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

chandu, your question will not be answered in the servlet forum.

Please see where I moved your thread here.

Please do not keep posting the same question. Further threads will be closed.

thanks,
Dave.
 
 
subject: C execute in java program