This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
    Bookmark Topic Watch Topic
  • New Topic

C execute in java program

 
chandu joshi
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
There is a particular command in Runtime.exec() to execute C exe which i not known tell me.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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 ]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic