tags:

views:

37

answers:

1

Hi All,

I was just wondering if anyone knew whether the Java Native Access API will locally save the native libraries into a temporary location before or when loading and using native libraries?

A: 

No. Libs have to be on the OS search path and are loaded from there. The native dll (win) or so (linux etc.) however has to be placed in the search path, e.g. in the main directory of your application. It might be (don't know) that the dll is contained in the .jar, in this case it is extracted into the temp folder and linked from there.

Daniel