On 05/07/2013 12:12 AM, Fernando Digitaldoc wrote:
We have a java application that calls the LibreOffice to make creating and
editing files.
That works fine in old 3.2 version when it was a OpenOffice.

Whats wrong in code now?

In Windows says: " UNO_PATH environment variable is not set (required system
path to the office program directory)"

And in Linux says:
Error 1:
"Could not initialize class com.sun.star.comp.beans.LocalOfficeConnection"

Error 2:
"Invalid URL connection UNO"

We are running that on one applet, but here we make a simple project with
the source.
We are using WriterEditor.java for tests..

https://dl.dropboxusercontent.com/u/30314039/JavaCallLibreOffice.rar

That rar does not make it obvious what your relevant test code is and how to build a failing scenario from source.

Stephan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to