开发者

will the jvm look in the registry when trying to find the location of a dll?

开发者 https://www.devze.com 2023-04-13 04:14 出处:网络
My java program is finding a dll to load but I can\'t figure out how it knows where its location is.I did a System.getProperty(\"java.library.path\"); in the program and found all the places it is loo

My java program is finding a dll to load but I can't figure out how it knows where its location is. I did a System.getProperty("java.library.path"); in the program and found all the places it is looking but the actual loc开发者_开发问答ation of the dll is in none of these places. There is a registry entry for the dll's path but I don't think Java is looking in there, is it?

Any clues would be appreciated.

Thank you,

Elliott


It turns out that a copy of the dll was on my desktop and now I know that it searches the desktop as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消