datalogics/adobe-pdf-library-samples

Exception in thread "main" java.lang.RuntimeException: PDF Library Error: Error during initialization

pulkit-maheshwr opened this issue · 3 comments

Running the Java samples (Annotations.Java) -

Exception in thread "main" java.lang.RuntimeException: PDF Library Error: Error during initialization, Error number: 1073741825
at com.datalogics.PDFL.PDFLJNI.new_Library__SWIG_0(Native Method)
at com.datalogics.PDFL.Library.(Library.java:128)
at com.datalogics.pdfl.samples.Annotations.Annotations.Annotations.main(Annotations.java:32)

This is most likely a configuration issue. The easiest way to address it is to change the working directory for the app to the (Java/binaries) directory that contains the DLLs. The next-most-easiest is to specify this directory in the PATH environment variable. Java IDEs generally have a configuration tab to allow you to specify environment variables specific to the Java process running the app.

I have already specified the directory in the PATH environment variable. Initially, I was getting some other error. After adding the directory path, I am getting this error.

@pulkit-maheshwr please send an Email to tech_support@datalogics.com to continue this conversation off-line.