[Solved] FirstUnoContact, Eclipse and libraries
[Solved] FirstUnoContact, Eclipse and libraries
Hello,
I try to run the program FirstUnoContact, available on page
https://wiki.openoffice.org/wiki/Docume ... st_Contact
I use the script Ant and the IDE Eclipse, whose say that the package com.sun.star.uno is not accessible.
But I don't know why !?
I try to run the program FirstUnoContact, available on page
https://wiki.openoffice.org/wiki/Docume ... st_Contact
I use the script Ant and the IDE Eclipse, whose say that the package com.sun.star.uno is not accessible.
But I don't know why !?
Last edited by gregoryOO on Tue Sep 06, 2022 5:28 pm, edited 3 times in total.
LibreOffice 7.0.4.2 on Debian 11
Re: FirstUnoContact, Eclipe and libraries
At a guess, you need to download and install the LibreOffice SDK. It won't do any harm to install that, but note, my solution is only a guess.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: FirstUnoContact, Eclipse and libraries
Hello,
I have LibreOffice SDK on my computer, and I can compile and run the class without problems but only with commands java and javac.
On Eclipse, I can compile the source code because Eclipse doesn't find the libraries.
The comment on the line import com.sun.star.uno.XComponentContext; with the red point is : "The package com.sun is not accessible".
I have LibreOffice SDK on my computer, and I can compile and run the class without problems but only with commands java and javac.
On Eclipse, I can compile the source code because Eclipse doesn't find the libraries.
The comment on the line import com.sun.star.uno.XComponentContext; with the red point is : "The package com.sun is not accessible".
- Attachments
-
- imgFirstUnoContact02.png (112.77 KiB) Viewed 7259 times
LibreOffice 7.0.4.2 on Debian 11
Re: FirstUnoContact, Eclipse and libraries
And an image of my project.
- Attachments
-
- imgFirstUnoContact.png (114.04 KiB) Viewed 7258 times
LibreOffice 7.0.4.2 on Debian 11
Re: FirstUnoContact, Eclipse and libraries
There is information that might be helpful linked from
https://stackoverflow.com/questions/541 ... tyle-solid
and in
https://stackoverflow.com/questions/614 ... on-windows
https://stackoverflow.com/questions/541 ... tyle-solid
and in
https://stackoverflow.com/questions/614 ... on-windows
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: FirstUnoContact, Eclipse and libraries
I'm not sure to understand your previous post.
I'm working with Linux/Debian 11, Apache LibreOffice, the language Java and Eclipse 2022-03.
I'm working with Linux/Debian 11, Apache LibreOffice, the language Java and Eclipse 2022-03.
LibreOffice 7.0.4.2 on Debian 11
Re: FirstUnoContact, Eclipse and libraries
You are writing this code - you have to do your research; I'm not going to do it for you.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: FirstUnoContact, Eclipse and libraries
You are writing this code - you have to do your research; I'm not going to do it for you.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: FirstUnoContact, Eclipse and libraries
OK, and where I can find a forum for developers? I want to write a small macro in language Java with Apache LibreOffice. It's for a final user, not for the heart of LibreOffice itself. Thanks for your response.
LibreOffice 7.0.4.2 on Debian 11
Re: FirstUnoContact, Eclipse and libraries
You don't know the name of the product. You never did any work with it. On which ground are you trying to write code?
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: FirstUnoContact, Eclipse and libraries
Very friendly this support forum, great atmosphere.
LibreOffice 7.0.4.2 on Debian 11