Also have a look at JOD Converter:
https://github.com/jodconverter/jodconverter
Its hides the complexity of starting and stopping OpenOffice instances
and farming jobs out.
OpenOffice itself can be pretty brittle (corrupt settings,
non-responsiveness).
JOD Converter will start OpenOffice with clean settings each time, and
terminate non-responsive processes.
-Tim
On 9/09/2023 6:36 am, Marcin Gutman wrote:
Hello,
about 10 years ago I have released OOo extensions written in Java that
were able to create and connect to the OOo context like this:
beg: source
import ooo.connector.BootstrapSocketConnector;
public XComponentContext bootstrapOffice(String officeDir) {
try {
return BootstrapSocketConnector.bootstrap(officeDir);
...
end: source
I had only bootstrap.jar with ooo.connector.BootstrapSocketConnector.
Today I have found source here:
https://github.com/jeremysolarz/bootstrap-connector/blob/master/src/main/java/ooo/connector/BootstrapConnector.java
I do not know if it works today.
Not updated, stopped working a few years ago:
CorelPolyGUI
https://extensions.openoffice.org/en/project/corelpolygui
OOoDigitzer
https://extensions.openoffice.org/en/project/ooodigitizer
Best Regards,
Marcin
W dniu 4.09.2023 o 06:51, Madhu patel pisze:
Hi Team,
I'm trying to connect to OpenOffice through JAVA code. I'm Using
XComponentContext xContext = Bootstrap.bootstrap(), I am trying to
get the remote office component context of OpenOffice through Java.
But it raises the exception "no office executable". I've set the SDK
path as shown in the image, and added the classpath as well, as
mentioned in
https://stackoverflow.com/questions/14157644/no-office-executable-found-exception-while-connecting-to-openoffice-through-java/59337721#59337721.
and I'm still getting the error. I have attached my JAVA code,
openOffice SDK path, and Java JDK path.
Please help me in resolving this error.
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail:api-unsubscr...@openoffice.apache.org
For additional commands, e-mail:api-h...@openoffice.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org