Why not just call the method in the class in the jar that you want to execute directly rather than using the Runtime.getRuntime().exec() method? [ February 03, 2005: Message edited by: Marilyn de Queiroz ]
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
You might want to find out what class/method you wish to access in the jar file and call that method. just make sure that the jar file is in your classpath so your program has access to it.
hth Raj
Forget this weirdo. You guys wanna see something really neat? I just have to take off my shoe .... (hint: it's a tiny ad)
a bit of art, as a gift, the permaculture playing cards