Re: Runtime.getRuntime().exec(message);

2000-10-06 Thread Peter Schuller
> Whats the differance between the two calls ? 1) java/javac are shell scripts. you need to use a shell to invoke them 2) Are they in the PATH? -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0x5584BD98 or 'Peter Schuller <[EMAIL PROTECTED]>' Key retrival: Send an E-Mail to [EMAIL P

Re: Runtime.getRuntime().exec(message);

2000-10-05 Thread Mark Ogden
It doesn't matter if it's part of the PATH because you are not running it in a shell. If you did 'sh java' then that would be strange! -- Save the whales. Collect the whole set. [EMAIL PROTECTED]http://homepage.ntlworld.com/pogden On Thu, 5 Oct 2000, Santosh Dawara wrote: > Christopher

Re: Runtime.getRuntime().exec(message);

2000-10-05 Thread Santosh Dawara
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 appl

Re: Runtime.getRuntime().exec(message);

2000-10-05 Thread Christopher Smith
--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.

Re: Runtime.getRuntime().exec(message);

2000-10-05 Thread Joi Ellis
Santosh Dawara wrote: > > Hi, > > 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 ? >

Re: Runtime.getRuntime().exec(message);

2000-10-05 Thread Santosh Dawara
Hi, 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 ? Regards, Santosh. Nathan Meyers wrote: > >

Re: Runtime.getRuntime().exec(message);

2000-09-29 Thread Nathan Meyers
On Fri, Sep 29, 2000 at 10:47:49AM -0600, Jason Janelle wrote: > Hi fellow coders, >I have been writing java on WindowsNT boxes for a while and am just >trying out java on Linux. I was trying to issue a command to the >system via this line of code: > >Runtime.getRuntime().exec("l

Re: Runtime.getRuntime().exec(message);

2000-09-29 Thread Joi Ellis
Jason Janelle wrote: > > Hi fellow coders, >I have been writing java on WindowsNT boxes for a while and am just >trying out java on Linux. I was trying to issue a command to the >system via this line of code: > >Runtime.getRuntime().exec("ls > dir.txt"); > >It compiles and

Re: Runtime.getRuntime().exec(message);

2000-09-29 Thread Juergen Kreileder
> "Jason" == Jason Janelle <[EMAIL PROTECTED]> writes: Jason>I have been writing java on WindowsNT boxes for a while Jason>and am just trying out java on Linux. I was trying to Jason>issue a command to the system via this line of code: Jason>Runtime.getRuntim

Runtime.getRuntime().exec(message);

2000-09-29 Thread Jason Janelle
Hi fellow coders, I have been writing java on WindowsNT boxes for a while and am just trying out java on Linux. I was trying to issue a command to the system via this line of code: Runtime.getRuntime().exec("ls > dir.txt"); It compiles and such but I get no dir.txt. I tryed a wa