(1)
The JVM on Windows automatically sets the System Property, java.library.path, to the contents of your Windows environmental variable, "Path".
All you need to do is make sure the dll is in your OS Path!
--------------------
(2)
You can set the java.library.path yourself via a jvm-option but I don't recommend it. You lose the JVM help as in (1)
-------------
(3)
On UNIX you have to do the work partially. I.e. you have to set the
LD_LIBRARY_PATH
environmental variable. The JVM will then set java.library.path to that variable's contents by default.
[Message sent by forum member 'bnevins' (bnevins)]
http://forums.java.net/jive/thread.jspa?messageID=355828