我正在尝试编译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
答案 0 :(得分:0)
您的问题不是很清楚,但JAR文件是可移植的:JNI库不是。