Q: I am currently evaluating the sdk version of the pdfa manager
I want to use it on a 64bit Linux system so I set up an eclipse
project, included your jar and so lib and tried to run your example.
I get to see this:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/opt/allWorkspaces/galileo-ws/PDFA-SDK-Test/lib/libpdfa.so: wrong ELF
class: ELFCLASS32 (Possible cause: architecture word width mismatch)
I don't know what to do with that. I have installed Java HotSpot(TM)
64-Bit Server VM (build 14.2-b01, mixed mode).
Is that a problem? Is there smthg. I do wrong?
A: The problem is that pdfamanager sdk for Linux is 32 bit and you are
running on 64-bit Linux. Now this should not be a problem for native
apps in mixed mode, however it seems that Java does not allow mixing
of 32-bit and 64-bit shared libraries.
As a workaround you could use PDFNet SDK (http://www.pdftron.com/
pdfnet) instead of PDF/A Manager (http://www.pdftron.com/pdfamanager).
PDFNet includes the same type of PDF/A conversion and validation
functionality as shown in PDF/A sample project:
Also PDFNet SDK for JAVA is available on both 32-bit and 64-bit Linux.