This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

C execute in java program

chandu joshi

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

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

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.

I agree. Here's the link:
subject: C execute in java program