0

我正在尝试编译 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

4

1 回答 1

0

您的问题不是很清楚,但 JAR 文件是可移植的:JNI 库不是。

于 2012-04-05T00:21:23.523 回答