[Solved] FirstUnoContact.java does not work on Windows 8.1

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
mat10243x
Posts: 1
Joined: Fri Sep 19, 2014 11:22 am

[Solved] FirstUnoContact.java does not work on Windows 8.1

Post by mat10243x »

FirstUnoContact.java does not work on Windows 8.1 (64 bit). It compiles without an error. It runs without error messages, but without any messages at all (the "Connected to a running office ..." line is not printed).
It seems that the program executes com.sun.star.uno.XComponentContext xContext = com.sun.star.comp.helper.Bootstrap.bootstrap(); and aborts the try statement and continues with the "final" part.

Should such behavier not lead to an exception which is handled in the "catch" part? But the catch part is not executed.

FirstUnoContact.java runs well under Debian/LibreOffice and XP/OpenOffice on the same machine.

Any help appreciated.

>>>>>>>>>>>>>>>>>>>> It seems that 32-bit-OpenOffice does not work with 64-bit-Java (at least version 8). After installing the 32 bit Java 7 SDK alls runs well.
OpenOffice 4.1.1 on Windows 8.1
Post Reply