how to run a program within already running program

greenspun.com : LUSENET : Java Programming : One Thread

hi, I would like to know if there is any way of starting up a java program in another java program. I already know about the execute ("java "); command but this starts up a seperate Java Virtual Machine and fork a new process. But i would like to spawn a new thread in the same Java Virtual Machine.

Thanks

-- mustafa a s (mustafa_san@yahoo.com), January 10, 2003


Moderation questions? read the FAQ