This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: LD_LIBRARY_PATH not accessible through java under cygwin forJNI

On Thu, 27 Feb 2003, gilles bourgeois wrote:
> hi folks,
> I am currently using my JNI so/dll library under solaris, linux and cygwin.
> with solaris and linux, no problem, I bind to it using load(..) since the
> BUT, under cygwin/windows, it does not work and I shall tell the absolute
> path when I load the library.
> I hav already posted in java.machine, but Randall schulz told  me to try in
> this mailing list.
OK, I think we need more info here: see and 
also tell us:
* what Java VM are you using?
* Why do you expect LD_LIBRARY_PATH to work on Windows?

Note that Cygwin is not the one that loads the libraries for you - that's 
Windows' job. I would be (very) surprised if you were using a VM running 
under Cygwin , and that VM uses dlopen() and not LoadLibrary() (in which 
case LD_LIBRARY_PATH would work, of course).

but hey - go ahead - surprise me!


Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]