loading dynamic librares with JNI

Discussion in 'Java' started by Brzezi, Jun 29, 2004.

  1. Brzezi

    Brzezi Guest

    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
    --
    [ E-mail: ][ Je\xB6li Tw\xF3j system operacyjny potrzebuje ]
    [ Ekg: #3781111 ][ programu antywirusowego - UCIEKAJ... i ]
    [ LinuxUser: #249916 ][ zdob\xB1d\xBC Linuksa! ]
    [ --- Tim Wright ]
    Brzezi, Jun 29, 2004
    #1
    1. Advertising

  2. Brzezi

    Ivan Kelly Guest

    Brzezi wrote:
    > 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
    Ivan Kelly, Jun 30, 2004
    #2
    1. Advertising

  3. Brzezi

    Brzezi Guest

    ┬Â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
    --
    [ E-mail: ][ Ta sygnatura zostala automagicznie ]
    [ Ekg: #3781111 ][ wygenerowana programem Signify v1.14. ]
    [ LinuxUser: #249916 ][ Po ten i inne super programy, ]
    [ zajrzyj na http://www.debian.org/ ]
    Brzezi, Jun 30, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alex Hunsley

    IBM's JNI fails where Sun's JNI works

    Alex Hunsley, Nov 3, 2003, in forum: Java
    Replies:
    4
    Views:
    833
    Alex Hunsley
    Nov 4, 2003
  2. Pasturel Jean-Louis

    Porting JNI Windows under JNI LINUX + Wine ?

    Pasturel Jean-Louis, Feb 29, 2004, in forum: Java
    Replies:
    5
    Views:
    888
    Pasturel Jean-Louis
    Mar 3, 2004
  3. vasanth
    Replies:
    0
    Views:
    2,660
    vasanth
    Jan 25, 2005
  4. vasanth
    Replies:
    0
    Views:
    605
    vasanth
    Jan 25, 2005
  5. bgabrhelik
    Replies:
    0
    Views:
    782
    bgabrhelik
    Sep 29, 2009
Loading...

Share This Page