Using Cygwin 1 with Mumit's JNI examples

Mumit Khan khan@NanoTech.Wisc.EDU
Fri Dec 31 13:28:00 GMT 1999

Alan Griffiths <> writes:
> I'm using the Cywin 1.0 CD and have downloaded Mumit's JNI examples,
> but I can't get them to work!

Loading Cygwin DLL from noncygwin apps (such as Java JNI) is broken
in Cygwin v1.0 CD version.

Your best bet is to pick a recent development snapshot and see if
that works. We can take it from there.

The root cause of the breakage is in winsup/, where there
is a block in dll_entry() that looks like this:
    if (! static_load)
	/* ... */

The code between the `if' block screws up dynamic loading of Cygwin DLL
from noncygwin apps.


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list