> 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
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
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
--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.
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 ?
>
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:
>
>
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
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
> "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
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
10 matches
Mail list logo