1

I want to use ZeroMQ for Windows 10 64bit to use in Java.

I am using Intelj as my IDE.
I googled and the only thing I found out was to compile library from source ( Mostly for Linux ).

Is there any way to use a compiled ZeroMQ library, so I can import it easily in my java code?

Kamran Shahid
  • 3,954
  • 5
  • 48
  • 93
  • I would use maven. https://search.maven.org/#artifactdetails%7Corg.zeromq%7Cjeromq%7C0.4.3%7Cjar – Peter Lawrey Jun 25 '18 at 12:49
  • Have a look at this link as well describing pros and cons of ZeroMQ and available alternatives. https://stackoverflow.com/questions/13052358/understanding-zeromq-java-binding – NullPointer Jun 25 '18 at 12:54

1 Answers1

0

To use zeromq in java you have 2 choices, 1. Use jeromq which is a java implementation of zeromq, and 2. Use jzmq which is a jni binding required libzmq installed on your system. If you are willing to use jzmq you can download and install libzmq from here

Isa Hekmat
  • 758
  • 1
  • 7
  • 19
  • Thank you, i guess that's the best way then. –  Jun 26 '18 at 11:19
  • jeromq have some limitation as given on there page. I have downloaded and installed http://zeromq.org/distro:microsoft-windows 4.0.4 Now What's the next step i am not able to go beyond it – Kamran Shahid Jul 17 '18 at 15:33
  • Now you can download and use both jeromq and jzmq in your project – Isa Hekmat Jul 17 '18 at 16:16
  • what i have zmq.jar referenced in my java project. I am getting error Getting error java.lang.UnsatisfiedLinkError: no jzmq in java.library.path in IntelliJ ide with windows 10 – Kamran Shahid Jul 18 '18 at 05:10
  • Same, using the jar but still getting the 'no jzmq in java.library.path' error. – Shubham Apr 22 '21 at 14:43