Re: Running an executable from Java

2001-07-28 Thread Nathan Meyers
On Sat, Jul 28, 2001 at 05:57:25AM -0700, bhuvaneswari thirumoorthy wrote: > hi, > I am using JDK1.2.2 with RedHat Linux6.2.2. I would > like to run an executable from a java program.For eg: > I am using the following command: > > Runtime r=Runtime.getRuntime(); > r.exec("sh /home/test/./javacon"

Running an executable from Java

2001-07-28 Thread bhuvaneswari thirumoorthy
hi, I am using JDK1.2.2 with RedHat Linux6.2.2. I would like to run an executable from a java program.For eg: I am using the following command: Runtime r=Runtime.getRuntime(); r.exec("sh /home/test/./javacon"); For this code, no error is coming. And while running, it ends up with a silence. Noth