*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "C execute in java program" Watch "C execute in java program" New topic
Author

C execute in java program

chandu joshi
Greenhorn

Joined: Sep 15, 2005
Posts: 12
Actually i want to execute c exe in java servlet.Means i want to do it through Runtime & Process class.But i don't known how it possible.
Tell me through a program by which command it is possible.I execute already a java exe in java program.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Did you look at the various RuntimeExec methods?
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: C execute in java program
 
Similar Threads
execute exe from cmd line
C execute in java program
Runtime class
Running a third party exe....
How to pass parameters to exe, executed using java code