FirstUnoContact it does not connect - java

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
gino62
Posts: 3
Joined: Sun Jul 30, 2023 8:27 pm

FirstUnoContact it does not connect - java

Post by gino62 »

I'm following this: https://wiki.documentfoundation.org/Do ... irst_Steps
but even if no visible errors, it has no output ...

Code: Select all

$ cat /etc/*release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"

Code: Select all

$ libreoffice --version
LibreOffice 7.4.5.1 40(Build:1)

Code: Select all

java -version
openjdk version "17.0.7" 2023-04-18
OpenJDK Runtime Environment (build 17.0.7+7-Debian-1deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.7+7-Debian-1deb12u1, mixed mode, sharing)
I attach descriptive screenshot
good day everyone
... grazie ...
explanatory
explanatory
Schermata del 2023-07-31 13-49-53.png (116.08 KiB) Viewed 6856 times
Attachments
jre libreoffice
jre libreoffice
Schermata del 2023-07-31 19-23-13.png (75.08 KiB) Viewed 6855 times
libreoffice 7.4.5.1
Debian GNU/Linux 12 (bookworm)
gino62
Posts: 3
Joined: Sun Jul 30, 2023 8:27 pm

Re: FirstUnoContact it does not connect - java

Post by gino62 »

the step-by-step program shows the error in

Code: Select all

com.sun.star.uno.XComponentContext xContext =
                com.sun.star.comp.helper.Bootstrap.bootstrap();
I attach pictures, from the above instruction go to

Code: Select all

System.exit(0);
does anyone know how to fix? Good day
Attachments
Schermata del 2023-08-04 18-42-34.png
Schermata del 2023-08-04 18-42-34.png (97.95 KiB) Viewed 6696 times
Schermata del 2023-08-04 18-43-47.png
Schermata del 2023-08-04 18-43-47.png (88.08 KiB) Viewed 6696 times
libreoffice 7.4.5.1
Debian GNU/Linux 12 (bookworm)
Post Reply