Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Native Library placing in JDK

843829Oct 17 2006 — edited Oct 21 2006
Hi, 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 18 2006
Added on Oct 17 2006
7 comments
263 views