dcsimg
Native Library placing in JDK
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, October 17, 2006 12:15 PM

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 if the customer copies the dll to $JAVA_HOMEjre in. This I take it is the default place to put native libraries so they get picked up.
We would like to be able to pick the native library straight from inside the kit and not have to copy it to inside the JDK. I have tried putting the dll in 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

Re: Native Library placing in JDK

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, October 28, 2006 11:10 PM

In Unix (Solaris, Linux etc) try LD_LIBRARY_PATH, and in Windows, try PATH
About | Sitemap | Contact