loading dynamic librares with JNI

From: Brzezi (usunto.brzezi_at_enter.net.pl)
Date: 06/29/04


Date: 29 Jun 2004 21:47:27 GMT

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: brzezi@enter.net.pl ][ Je\xB6li Tw\xF3j system operacyjny potrzebuje ]
[       Ekg: #3781111            ][ programu antywirusowego - UCIEKAJ... i        ]
[ LinuxUser: #249916             ][ zdob\xB1d\xBC Linuksa!                        ]
                                  [             --- Tim Wright                    ]


Relevant Pages

  • JNI Automation
    ... I have a large static library that I do not have the source ... I have the header files for this library, ... that would seem to be the only cross-platform ... JNI, I would have to wrap the static library into a dynamic library, ...
    (comp.lang.java.help)
  • Re: IEEE 488.2
    ... aber eine vollständige Lib hätte durchaus so Ihre ... paar Handgriffen per JNI gemappt haben. ... Prev by Date: ... Next by Date: ...
    (de.comp.lang.java)
  • Re: C->JNI->fast webpage updates?
    ... why not use JSP/Servlets? ... The data is coming from a lib in C, which received data off the network. ... I would re-write the C lib into a Java lib. ... Now, if that is not feasible because of the C codebase size, only then would I consider using JNI. ...
    (comp.lang.java.help)
  • Re: JNI:"undefined symbol" in "shared-library"
    ... One thing to note about JNI is that although the 'java.library.path' ... influence the loading of dependent libraries. ...
    (comp.lang.java.programmer)
  • Re: "classic" comn_realloc error
    ... in fact I'm loading both lib. ... not conflict with any of the Solaris libraries. ...
    (comp.databases.sybase)