Wednesday, August 11, 2010

Adventures with ØMQ and Java : Installation

ZeroMQ - "fastest. Messaging. Ever." - well we'll see about that :)

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

Next, install Java Bindings (read this - 
Important, make sure your JAVA_HOME is set to JDK location before you run 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!


  1. Hello Yan,

    You and your readers might be also interested in our article. It tells you about load balancing between working threads using ZeroMQ:

    Have a nice time reading.