Solving java.lang.UnsatisfiedLinkError: wrong ELF class: ELFCLASS32

Q:

We're using pdftron sdk for PDF to SVG conversion and are having
trouble when deploying on Ubuntu 10.04 (Intel(R) Xeon(R) CPU X5650 @
2.67GHz). We're getting the following error when loading the shared
object library:

java.lang.UnsatisfiedLinkError: /home/administrator/glassfish/lib/
libpdf2svg.so: /home/administrator/glassfish/lib/libpdfnet.so: wrong
ELF class: ELFCLASS32 (Possible cause: architecture word width
mismatch)

Could you please confirm that this *should* work so that we can try to
pin down a cause.
-------------
A:

According to http://stackoverflow.com/questions/6172105/wrong-elf-class-elfclass32.
The problem may be due to a mismatch between your JVM and the library
(32 vs 64 bit version).

The solution would be to either download a different version of PDFNet
(32 -> 64: http://www.pdftron.com/pdfnet/downloads.html) or to update
your JVM.