Could not initialize class com.pdftron.pdf.PDFNet

After a few test i decide to deploy a servlet to convert pdf to xod.
an Easy servlet, read from a byteArray and response a temp file to show the xod.
I try this servlet using Xampp and all work well but when i try to deploy the same servlet on a Tomcat(Linux) i recieved this response:

java.lang.NoClassDefFoundError: Could not initialize class com.pdftron.pdf.PDFNet

The Line is exactly the Line where i initialize the lib .


For Info i've already read this post:!topic/pdfnet-sdk/e-izERuN3Ic

and i've already add with PDFNet.jar under /WEB-INF/lib changed from .dll and .lib for windows use.
Can Someone Help?

For linux and java you need PDFNet.jar and (note there might be a symlink to check the file size if in doubt).

Our java samples file show the settings for Java.

If you refer to the documentation for your server framework, you should be able to find out how to use native code via JNI and Java.