-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
I have tried this but it is not helping me. I have other dlls which are
needed by the native dll and these are ok to be placed in system32 but for
native dll itself I am forced to place under jre/bin, othewise I get
unsatisfied linking error.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Nimret
Sandhu
Sent: Tuesday, October 05, 1999 3:36 PM
To: Java Apache Users
Subject: Re: loadlibrary
-----------------------------
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]
--
--------------------------------------------------------------
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]