Hi Wang, On Aug 13, 2008, at 10:53 AM, Wang Ning wrote:
Hi,
I just finish start up a openoffice server in java code using Process oooProcess = Runtime.getRuntime().exec(oooCommand); The process's name is "soffice". But later the process change its name to "soffice.bin"(or the old "soffice" process end and start a new process named "soffice.bin". I' m not sure). I found that I can't use oooProcess.destroy() to close the "soffice.bin" process.
How to close it by java programming?
To be honest, I'm not sure how useful it is to start it automatically. My take is that we could: * Install a public OO server somewhere that users can use directly * bundle an OO server in one of our distributions. In this case it could be started in the same way as we start xwiki, i.e. using a shell script WDYT? Thanks -Vincent