Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs Date: Thu, 27 Feb 2003 13:10:46 +0100 (CET) From: Ronald Landheer-Cieslak X-X-Sender: ronald AT localhost DOT localdomain To: gilles bourgeois cc: cygwin AT cygwin DOT com Subject: Re: LD_LIBRARY_PATH not accessible through java under cygwin for JNI In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 > LD_LIBRARY_PATH is set. > 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 http://cygwin.com/bugs.html 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! rlc -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/