where to put the dll file

hi everyonei have a dll file and i want to use it through a java file so i wrote a native method and load the directory when the dll is found but how to set up the library path in my in my environment
[235 byte] By [iyada] at [2007-10-3 1:00:38]
# 1
i found the answer i don't have to set up any environment variable just put the dll file near thejava file
iyada at 2007-7-14 17:56:38 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
Windows has reasonable well defined "search paths". You can stash the DLL anywhere on the serach path.
bschauwejavaa at 2007-7-14 17:56:38 > top of Java-index,Java HotSpot Virtual Machine,Specifications...