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

Joshua Foster jhawk28 at gmail.com
Sat Feb 26 04:32:19 CET 2011


The UnsatisfiedLinkError is because the the directory containing the dll's needs to be on the PATH Environment variable.

Joshua

On Feb 25, 2011, at 8:23 PM, Steven Dahlin wrote:

> 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
> features.
> 
> Thanks
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev




More information about the zeromq-dev mailing list