Q: We tried Command Line PDFTron PDF/A Manager and could successfully
convert PDF with PDF/A standards.
We want to try SDK trial version, since we need to execute the
conversion tool from Java. But we could not found trial user and
password information for the same.
Please provide us the following information.
1. Username, Company, license Key for trial version
2. When we tried to Test.java file, with default license key
information we got following error. What could be the cause of the
error?
Exception in thread "main" java.lang.UnsatisfiedLinkError: no pdfa in
java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at pdftron.PDFA.<clinit>(PDFA.java:7)
at arc.util.PDFTron.main(PDFTron.java:25)
3. We also want to know the Multithreading support of PDFTron. If
multiple threads access the library, how would be the response of
PDFTron.
-----------------------
A: The demo does not require any license key. The error is caused
because java can't find the required library in the search path.
You can make and run the project with the provided make file.
Alternatively you can set LD_LIBRARY_PATH, compile and run the program
with:
export LD_LIBRARY_PATH= /pdfa_sdk/lib
javac -classpath /pdfa_sdk/samples/JAVA/pdfa.jar test.java
java -classpath /pdfa_sdk/samples/JAVA/pdfa.jar test
------------
As an alternative you could also use PDFNet SDK (http://
www.pdftron.com/pdfnet/downloads.html) and in particular its PDF/A
Converter module which is showcased in PDF/A sample project:
http://www.pdftron.com/pdfnet/samplecode.html#PDFA
> 3. We also want to know the Multithreading support of PDFTron.
All PDFTron libraries are fully safe for multithreading and can be
used in applications that run multiple concurrent threads.