PDFNet for JAVA: How to resolve java.lang.UnsatisfiedLinkError?

Q: I have got a running problem "Exception in thread "main"
java.lang.UnsatisfiedLinkError: no PDFNetC in java.library.path".

I put the "PDFNetC.dll" in the "..\lib" directory. It still doesn't
work. Can you help? Thanks so much!

I am using PDFtron in Java in Windows XP.
A: The problem is that JAVA can't find PDFNetC.DLL in its search path.
There are several ways to resolve the issue. You could add"-
Djava.library.path ..." to your search file, or copy PDFNetC.DLL to an
existing JAVA DLL folder, etc. You may also want to take a look at a
one of batch files located together with JAVA sample projects (you
should be able to run these samples straight 'out of the box').