Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.