Runtime exec exception
I've been having this problem with Runtime.exec for a couple days and I have searched for solutions extensively but to no avail. It'd be great if anyone could tell me what went wrong:
Basically I'm trying to invoke an external process from the main application using the exec method of Runtime class. The process is a lexical/syntactic parser made by lex and yacc (it is supposed to parse a raw file and produce an xml file which will be fed to the main application). But there's always a run time exception the error message is as follows:
java.io.IOException: CreateProcess: .\prog calendars1.txt error=193
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at Parser.Application.executeRuntime(Application.java:39)
at Parser.Application.<init>(Application.java:12)
at Parser.Application.main(Application.java:62)
Would anyone give me some hints on this please? Thanks a advance!
By the way, the flatform is Unix.

