loading dynamic librares with JNI

B

Brzezi

Hi.

How to make java searching library files "*.so" in current directory on
loading them when using JNI, not
in default "lib" directory of java instalation?

thanks for any answer.

Pozdrawiam
Brzezi
 
I

Ivan Kelly

Brzezi said:
Hi.

How to make java searching library files "*.so" in current directory on
loading them when using JNI, not
in default "lib" directory of java instalation?

thanks for any answer.

Pozdrawiam
Brzezi
not sure in *nix but in windows you to do this you need to have "." in
your PATH. in *nix im guessing you must have "." in your LD_LIBRARY_PATH
environment variable.

-ivan
 
B

Brzezi

¶ro, 30 cze 2004 o 11:13 GMT, Ivan Kelly napisa³(a):
not sure in *nix but in windows you to do this you need to have "." in
your PATH. in *nix im guessing you must have "." in your LD_LIBRARY_PATH
environment variable.

Thanks, it works :)

Pozdrawiam
Brzezi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top