Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Please update your question with exact exception you're getting to help you. Commented Mar 15, 2014 at 2:48
  • Am not getting any exception .. the binary is supposed to cut comments and process the define statements as a preprocesser and then copy the new code to a temp file.. and its not doing that.. in terminal it works .. from JAVA no.. Commented Mar 15, 2014 at 2:52
  • Try getting the InputStream from your Process and print in your Java program console. Your binary may be telling something why it can't do the job, also print the return value. Commented Mar 15, 2014 at 2:57
  • Actually it's not executing the binary at all Commented Mar 15, 2014 at 3:03
  • That's the reason I suggest to capture the process stream to know what is really getting executed. Commented Mar 15, 2014 at 3:11