if i were smart, i would try out your source code example before sending a
response to the list. but laziness wins again, so...
you might try adding '.' to your path. i've had some problems before with exec()
and relative paths--in a unix shell, './a.out' will work even if '.' isn't in your
p
[EMAIL PROTECTED] wrote:
> Thank you very much for everyone responding to my original question.
> I did try to use exec("./a.out") in the java application but still get
> exception like:/mnt/e/Linux/java/proc/One>java communicate
> got e after try exec()
> java.io.IOException: ./a.out: not found
[EMAIL PROTECTED] wrote:
>
> > Dimitris Terzis wrote:
> >
> > Hi guys...
> >
> > I am trying to launch an external application from my Java program,
> > using exec().
> >
> > I do Runtime.getCurrentRuntime() and then try to exec() the
> > application (not internal command), providing a properly
> Dimitris Terzis wrote:
>
> Hi guys...
>
> I am trying to launch an external application from my Java program,
> using exec().
>
> I do Runtime.getCurrentRuntime() and then try to exec() the
> application (not internal command), providing a properly created path.
> My application has a GUI whi
> Dimitris Terzis wrote:
>
> Hi guys...
>
> I am trying to launch an external application from my Java program,
> using exec().
>
> I do Runtime.getCurrentRuntime() and then try to exec() the
> application (not internal command), providing a properly created path.
> My application has a GUI whi