Dimitris Terzis wrote:
>
> Hi guys...
>
> Someone give a hint please, because I 'm next to madness and I don't want to
> break my machine... I have a very-very simple native library, say test_lib,
> which I try to load with System.loadLibrary("test_lib"). The £$^£@& compiler
> insists that it's not in java.library.path. I printed out this property, and
> it does include the . directory. Is there any particular extension to the
> file I should supply (already tried .o and .so)?
The beginning of the name also matters. That call will expect to load a
library named "libtest_lib.so". Other requirements: build the sources
with the "-fpic" flag, and link the library with the "-shared" flag.
Nathan
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]