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

Reply via email to