-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

> I am trying to load a library containing my native methods. But this gets
> failed with unsatisfied linking error unless I place the dll in jre/bin
> directory.  (I am haing jdk 1.2.1 on my system.)
> Can you please help me how I can configure this by placing the dll
anywhere
> under apache itself or giving a relative path for it.

I belive that JNI relies on the OS specific mechanism to link into native
libraries. On windows, if u place the dll in a directory which is in your
PATH env variable or the /Windows/system32 dir, i believe that should solve
the problem.

regs,
--------------------------------------------------------------
          ,:%%;, Nimret Sandhu
         %`    `%  http://nimret1
        ;        ;   http://nimret.penguinpowered.com
        %=-       /``'.   [EMAIL PROTECTED]
     .%` .%` ...,      `,  /```', [EMAIL PROTECTED]
   .%` ,`  ,%`  %   ,%%%;,/      `    ,;%%%%%%;,
  %;` (        ` ,,%%%%%;%%,   ,%;\%``        `%)
 %%   `%%%:...  `     ```:%%%;,`   \         ,;`
%%      ``%,  `````""""""''`%% ` ,;%;      ;``  %
%;  ,``,_   `"%,       %``    %%   ,%\        %`
%. /     `#.   `:%;,    `%-    `% ``        %`    .,,
%,`       `%`#     "%,    `. .%.%,        %          `%@,
  ,;      \\  `      `%,          `%,     _________,    &@;
 %;       ,#'    `@,  %;   .:Kk~'   `".___)%%%%%%%/      ;@;
%@%  `;        .   @; %%              `%,%@.             ;@@;
@@@,   `;,    ,;   @;   ..,,,;;;;;;;;;;;'%@,,            ;@@;
 @@@,.   `"""`  ,,@;                     %@@%,         .;@@@;
   @@@`@@@@@@@@%%@''                      %@@%`@@@@@@@@@`@;'
     "":%@@@@%;"'

[ if this looks like garbage, use a fixed width font ]




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to