--On Thursday, October 05, 2000 4:55 PM +0530 Santosh Dawara
<[EMAIL PROTECTED]> wrote:
> What if someone tried a
> Runtime.getRuntime().exec("java"); ?
> or Runtime.getRuntime().exec("javac");
>
> I get an IOException for the same.
> Wheras, native applications (like "ls" and "clear") work fine.
>
> Whats the differance between the two calls ?
I'm just guessing, but perhaps "java" and "javac" aren't in your path?
Also, you aren't including sufficient arguments to the programs in
question, although I don't think that will cause an IOException.
--Chris
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]