Anyway, first thing first...we need to install ZeroMQ and ZeroMQ Java bindings in my case.
I am using Ubuntu 10.4:
First. install ZeroMQ ( follow the instruction from the webiste http://www.zeromq.org/area:download#toc1)
First. install ZeroMQ ( follow the instruction from the webiste http://www.zeromq.org/area:download#toc1)
Next, install Java Bindings (read this http://www.zeromq.org/bindings:java) -
Important, make sure your JAVA_HOME is set to JDK location before you run autogen.sh script run ldconfig -v at the end if you get:
"...cannot open shared object file: No such file or directory"when you trying to run your application (thanks to this post)
Don't forget to include :
java -Djava.library.path=/usr/local/lib
That's it - Happy messaging!