Native Library placing in JDK
843829Oct 17 2006 — edited Oct 21 2006Hi, In one of our applications we have a native library kdmjj.dll, that is contained in the bin directory of the app. This works fine and gets picked up if the customer copies the dll to $JAVA_HOME\jre\bin. This I take it is the default place to put native libraries so they get picked up by the JVM? I would like to be able to pick the native library up straight from inside the application in the bin directory and not have to copy it to inside the JDK. I have tried adding the dll to the PATH and CLASSPATH environment variables but this doesnt work. I have heard there is some environment variable which will tell where to look for native libraries, do you know what this is?
Thanks in advance,
John