PDF conversion OpenOffice3.3 Linux cannot.

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

1, Test the OpenOffice service is started

Method: input the following commands on the command line

/The OpenOffice installation directory/soffice -headle -accept="socket,host=localhost,port=8100;urp;" -nofirststartwizard &

If an error occurs that fail or not installed OpenOffice

Succeed will appear as follows like content;:

[1]2342

The representation of information to start a service process, namely PID


2, If you use java code to start the service, may be due to port monitoring has not been established as a call to the connect method, leading to the background error: the service did not start, attention is needed to execute a command added to the two parameters, as follows:

Runtime.getRuntime().exec("/bin/sh", "-c", "/The OpenOffice installation directory/soffice -headle -accept="socket,host=localhost,port=8100;urp;" -nofirststartwizard");

The first two parameters is Linux unique writing

After the execution of this command will have a service process started

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Webb at December 25, 2013 - 6:49 AM