Thanks for your kind reply. I too thought it should work, but to my
disappointment it doesn't so far, unfortunately.
The exact same configuration runs however when I use Libreoffice (LO) v5 in
32-Bit being UNO-called from within a JVM 32-Bit. (I'm using the moveable
32-Bit LO version from Portableapps for that purpose, so I can have both the
moveable 32-Bit and the installed 64-Bit LO version in one Virtualbox.)
With "Depends tool" do you mean the Depency Walker (depends.exe) ?
I didn't find another tool which would sound similar to what you mentioned.
In any case, I fail to open my Java program with "Depency Walker", since the
latter wants to open "Windows modules" only, i.e. ".exe", ".dll" files.
However I start my Java program with a ".bat" script which the Depency Walker
doesn't want to open:
java -cp myapp.jar;unojarfiles.jar myclass
Do you have any hint please how I could trace my Java program with your
mentioned Depends tool?
I'm wondering if anybody ever successfully spawned the brand new LO5 64-Bit
on Windows from within Java and UNO?
Am 21.08.2015 um 10:51 schrieb Stephan Bergmann:
It should work. My best bet would be to use the Depends tool to trace
execution of your Java program and the processes spawned from it, and see
whether there is anything going wrong at the DLL-finding level that causes
the spawned soffice.bin to fail.
On 08/20/2015 08:54 PM, Aurelius Octavian wrote:
My little Java program uses Libreoffice's (Openoffice's) API named UNO
to talk to an installation of the new Libreoffice Version 5 (126.96.36.199).
Under Ubuntu Linux, the Java programs runs in a 64-Bit Java Virtual
Machine (JVM) and happily talks via UNO to Libreoffice 64-Bit to use
some Libreoffice functions.
However under Windows (64-Bit) with a Libreoffice 64-Bit installation,
when I use a 64-Bit JVM to run the same Java program, it results in a
Libreoffice error message (i.e. it's not a Java-UNO error) saying
"Libreoffice 5.0 : The application can't be started. An internal error
(Freely translated from my localised error message which is:
„Libreoffice 5.0 : Die Anwendung kann nicht gestartet werden. Ein
interner Fehler ist aufgetreten.“ )
So under Windows I've to fall back to a 32-Bit JVM and a Libreoffice
32-Bit installation. Then I can use the very same Java program in a
32-Bit JVM to talk with Libreoffice 32-Bit.
However, I'd very much like to use a 64-Bit JVM under Windows, too. Is
this possible somehow with the new Libreoffice 64-Bit for Windows?
To unsubscribe e-mail to: email@example.com
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Impressum (Legal Info)
: 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