Page 1 of 1

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

Posted: Fri Sep 19, 2014 11:45 am
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.