JNI compiling on different platforms

Go To StackoverFlow.com

0

I'm trying to compile the 0MQ java JNI binding... If I compile the jar on mac os x can I copy this to a linux distro?

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

2012-04-04 20:15
by DD.


0

Your question isn't very clear, but JAR files are portable: JNI libraries are not.

2012-04-05 00:21
by user207421
Ads