Christopher Smith wrote:
> 
> --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 ?
> 

Your right ... when I added the entire path for java, it worked ok, 
but then java is already part of the Global variable PATH for the
shell I am using, this I am sure of.

tricky ...

> 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]

Reply via email to