[zeromq-dev] Exception in thread "main" java.lang.UnsatisfiedLinkError: no jzmq in java.library.path (Windows)

Steven Dahlin steven.dahlin at gmail.com
Sat Feb 26 02:23:54 CET 2011

The message is occurring when I attempt to initialize a context in Java with:
ZMQ.Context context = ZMQ.context(1);

I have downloaded the latest files for zmq and jzmq off of Github.
The java jars (zmq.jar and jzmq-2.1.0-SNAPSHOT.jar) were compiled
using "mvn compile:compile" and "mvn jar:jar"  The libzmq.lib (inside
the zmq project) and the jzmq.dll and libzmq.dll were generated using
Visual Studio 2010 Express.  I should note that my workstation runs 64
bit Win7 but the libs were compiled as Win32 versions (When I tried
generated the 64 bit versions problems abounded).  Could anyone give
me any clues as to how to resolve this.  We had been using older
versions of jzmq but I needed the latest so as to utilize the polling


More information about the zeromq-dev mailing list