PDFlib works only if the library is in /usr/lib not in a custom path?

Up vote 1 down vote favorite share g+ share fb share tw.

We are using PDFlib for personalizing PDFs. The pdflib. Jar library and the libpdf_java.

So file are both in the folder: /home/user/my/custom/library/path/ I start the server with this argument: java -Djava.library. Path=/home/user/my/custom/library/path/ like it is mentioned in the pdflib tutorial After deploying on my jBoss5 Server I got this error message: ERROR STDERR Cannot load the PDFlib shared library/DLL for Java. Make sure to properly install the native PDFlib library.

For your information, the current value of java.library. Path is: /home/user/my/custom/library/path/ So, the path ist correct (i tried it with and without the / at the end) If I put the jar and the lib in my /usr/lib folder, everything works fine, but not with my custom folders. I use it on a linux 64bit, if that matters!

The custom folder and the files got chmod 755 - so this shouldn't be the problem Looking forward to your hints! Java classpath jboss5. X java-libraries pdflib link|improve this question edited Dec 15 '11 at 12:06 asked Dec 15 '11 at 11:21Joerg1979 93% accept rate.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions