[zeromq-dev] JZMQ stable/production ready build

Petr Postulka ppostulka at gmail.com
Wed Jun 25 17:34:25 CEST 2014

Hi Trevor,

thank you very much for your prompt response and publishing new version to
maven central.

It would be awesome to have native libraries for different platforms inside
the jar file, but I understand that it is not a simple task ... I'm pretty
sure that many people will love it once finished.

I have couple more questions ...

1) you going to publish current master to maven central with corresponding
native Linux x64 jar file, am I right? Is current master stable enough?
2) what process we should follow to build the same version from same code
base for Windows x64 platform? Or are you going to provide corresponding
Windows x64 build too? I'm mainly Java/C# guy, so no experience with JNI,
C++ stuff ... can we use the same jzmq.jar file you will publish to maven
central and just use jzmq.dll (which we build from VS) and set it through
-Djava.library.path VM parameter? Or do we have to use different jzmq.jar
file, which is built in VS together with jzmq.dll? I'm asking because I
want to know how to setup our gradle project and whether we can use the
same maven central dependency for the main jzmq.jar file (no matter on
which platform we running) and just switch between native libraries based
on the platform.

3) which version of ZeroMQ (libzmq) we should install with this new build?
Would you recommend us 3.2.4 or 4.0.4? We are looking for the most stable
version, not interested in CURVE stuff for now.

4) Just to understand your plan to include native libraries inside the jar
file in the future - does it mean that in the end there will be:
- jzmq.jar file - main jar file, same for all platforms
- jzmq-native.jar file, which will contain .so, .dll. .dylib files and
based on the platform you launching on it will find and load the
corresponding native library? Or there will be 3 different native jar files
for each platform ... corresponding to current Linux x64 jar file published
on maven central. This native jar file you then just add to your classpath
and that's it, right?
- plus you will have to install ZeroMQ (libzmq libraries) for the specific
platform ... from the packages on zeromq website.

Sorry if some of my questions are stupid, but because I have no experience
with C++/JNI stuff I'm not sure what is possible or not.

Thank you very much for all your help in this manner.

Kind regards,


On Wed, Jun 25, 2014 at 4:50 PM, Trevor Bernard <trevor.bernard at gmail.com>

> Hi Petr,
> I'll publish and tag a new build on central at some point this
> evening. Work still needs to be done to include the .dll, .so and
> .dylib native bindings inside the jar. I've tried in the past but it's
> not a simple task to define that build process.
> -Trevor
> On Wed, Jun 25, 2014 at 10:26 AM, Petr Postulka <ppostulka at gmail.com>
> wrote:
> > Hi all,
> >
> > I would like to ask which combination of jzmq/libzmq is the most stable
> and
> > recommended for production use. I can see that the last published
> version in
> > maven central is version 3.0.1 from 08-Oct-2013, which seems pretty old.
> >
> > Trevor or any other project maintainer - is there any plan to publish to
> > maven central new version of JZMQ and also to publish there windows
> builds
> > too? Right now you always publish just Linux version and it would be
> nice to
> > have the same version published for both platforms together. So there is
> no
> > need to build the libraries on your own and trying to find out which
> > specific versions of libzmq/jzmq to use.
> >
> > Also can someone recommend the specific version of libzmq with specific
> > version (commit hash tag) of jzmq, which should be used together and is
> > recommended as the most stable combination?
> >
> > We would like to use jzmq on both Linux and Windows platforms in 64 bit
> > versions.
> >
> > I was trying to build current JZMQ master for Windows x64 platform and I
> > succeeded, but when I tried to build the same revision as it is
> published in
> > maven central for Linux I could not make it work.
> >
> > Thank you and kind regards,
> >
> > Petr
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140625/b1cc7b49/attachment.htm>

More information about the zeromq-dev mailing list