我正在尝试编译 0MQ java JNI 绑定...如果我在 mac os x 上编译 jar,我可以将它复制到 linux 发行版吗?
Download jzmq, the java JNI lib for zmq. Uncompress and cd into that dir, and build it:
./autogen.sh
./configure
make
make install
You'll end up with the zmq.jar in /usr/local/share/java/ and the native lib in /usr/local/lib
http://blog.pmorelli.com/getting-zeromq-and-jzmq-running-on-mac-os-x