Hi, coud you tell me of some mechanism by which i start as many separate JVM's from one program/system? i do not want to use threads because they belong to a single JVM. Thanx in advance. tony
Make visible what, without you, might perhaps never have been seen. - Robert Bresson
tony james
Greenhorn
Joined: Jul 24, 2001
Posts: 12
posted
0
Hi Michael, When i compile the above code, i get this error: Method exec(java.lang.String) not found in class java.lang.System. i cant find System.exec() in the java API... Please help. Thanx, tony
[This message has been edited by tony james (edited December 07, 2001).]
Serves me right for typing off the top of my head -- thanks Cindy.
tony james
Greenhorn
Joined: Jul 24, 2001
Posts: 12
posted
0
Hi Cindy, Thanq so much.It works fine. Can u explain this statement ... the argument passed to exec() . Runtime.getRuntime().exec("cmd /K start run.bat"); Are there any other parameters for running a batch file? Thanx tony
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.