Hi A,
Your approach won’t work, there is no ole32.dll in any operating system other than Windows (not 100% true, see below).
The error message is talking about libole32.so but that’s just the name of ole32 if it did exist in Linux.
Fortunately, there are Java libraries for reading Word and for writing PDF, just search for
Java read word files
(or similar search terms) to find them.
You usually get one or two library names for this kind of stuff; do some more internet searches to find out which of these libraries are useful, and what the pitfalls are.
Regards,
Jo
You can have ole32.dll on Linux if the user has set up a Windows-y environment like Wine or a Windows VM.
With that kind of setup, you don’t need to port to Linux at all, but you’re burdening your users with setting up such an environment, which isn’t trivial – plus the minor differences between a normal Windows and one that runs inside Windows may give you support requests that are harder to solve.
--
You received this message because you are subscribed to the Google Groups "Java Native Access" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jna-users+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jna-users/fab43ec8-7b1f-4675-9e00-210167fd061dn%40googlegroups.com.
Sensitivity: C2 Internal
The content of this e-mail is intended only for the
confidential use of the person addressed.
If you are not the intended
recipient, please notify the sender and delete this e-mail immediately.
Thank
you.