遇到了同样的问题,是安装的问题,具体在ZMQ.java的34行,找不到依赖的lib,即jzmq.dll
WindowsGet the source code, then use MSVC (2008 or later) to open the solution file builds\msvc\msvc.sln and build the projects.Ensure that the javac binary is in the Path variable.Note that ØMQ and JDK header file has to be on "include path" (Tools|Options|Projects and Solutions|VC++ Directories|Include files) and ØMQ libraries have to be on "library path" (Tools|Options|Projects and Solutions|VC++ Directories|Library files):
Include files:
    <jdk>\include\win32
    <jdk>\include
    <zeromq>\includeLibrary files:
    <zeromq>\libTo run it, firstly check whether libzmq.dll is on the system PATH. Secondly, make sure that you add zmq.jar and the jzmq perf directory to the Java classpath. Thirdly, for Java to find the jzmq.dll shared library you must ensure that java.library.path is set to the directory where it is installed.Example command to run Java test program on Windows:
C:\zmq\java\perf> set PATH=%PATH%;C:\zmq\lib
C:\zmq\java\perf> java -Djava.library.path=C:\zmq\java\lib -classpath C:\zmq\java\lib\zmq.jar;. local_lat tcp://127.0.0.1:5555 1 100