Skip to content
This repository

Java binding for ØMQ

branch: master

Merge pull request #312 from liebo/master

improve send performance
latest commit 3daf9923f1
Trevor Bernard trevorbernard authored April 19, 2014
Octocat-spinner-32 builds Imported Visual Studio solution into Visual Studio 2012. Copied confi… January 10, 2014
Octocat-spinner-32 config added darwin subfolder to catch jni_md.h automatically November 19, 2013
Octocat-spinner-32 debian adding more build depends tools February 20, 2014
Octocat-spinner-32 src improve send performance April 19, 2014
Octocat-spinner-32 .gitignore Remove and ignore INSTALL December 01, 2013
Octocat-spinner-32 .travis.yml Fix regression with issue #283 February 18, 2014
Octocat-spinner-32 AUTHORS Add Trevor Bernard to contributors December 01, 2013
Octocat-spinner-32 CMakeLists.txt Fix CMake Error at CMakeLists.txt:204 (add_library): Cannot find sour… December 19, 2013
Octocat-spinner-32 COPYING Autotoolized version of jzmq March 11, 2010
Octocat-spinner-32 COPYING.LESSER Autotoolized version of jzmq March 11, 2010
Octocat-spinner-32 ChangeLog Fix broken build February 17, 2013
Octocat-spinner-32 Changelog.md Update changelog February 23, 2013
Octocat-spinner-32 Makefile.am Move perf and cpp into the structure December 01, 2013
Octocat-spinner-32 NEWS Autotoolized version of jzmq March 11, 2010
Octocat-spinner-32 README README: Added autogen.sh instructions October 03, 2012
Octocat-spinner-32 README-PERF Fixed compilation of performance classes and added scripts for execut… December 09, 2010
Octocat-spinner-32 README.md Add acknowledgements section October 28, 2013
Octocat-spinner-32 autogen.sh Darwin fixes April 06, 2010
Octocat-spinner-32 configure.in Ignore generated files December 01, 2013
Octocat-spinner-32 jzmq.spec Update to 4.0 October 10, 2013
Octocat-spinner-32 maven.readme disabled auto-push on release - doing local checkout on release:perform August 24, 2012
Octocat-spinner-32 nativejar.xml Format nativejar.xml and pom.xml February 23, 2013
Octocat-spinner-32 pom.xml add version to gpg and surefire plugins to avoid mvn warning January 06, 2014
README.md

What is JZMQ?

This is the Java language binding for libzmq (aka ZeroMQ, 0MQ).

Build Status

The latest javadocs.

Building and Installing JZMQ

To build you need to have the libzmq library already installed, then you run:

./autogen.sh
./configure
make
make install

Avoiding JNI

JZMQ uses JNI to wrap libzmq for the best performance. If performance isn't your primary goal, look at the JeroMQ project, which is a pure Java implementation that provides an identical API to JZMQ, and uses the same protocol.

Building Packages

To build a Debian package, run:

$ dpkg-buildpackage -rfakeroot

To build an RPM package, run:

$ rpmbuild -tb jzmq-X.Y.Z.tar.gz

Where X.Y.Z is replaced with the version that you've downloaded.

If configure can't find your libzmq installation, you can tell it where to look, using e.g. --with-zeromq=/usr/local.

You may want to take a look at http://www.zeromq.org/docs:tuning-zeromq for additional hints.

For more information, refer to the ØMQ website at http://www.zeromq.org/.

On Mac OS X you may need to compile and make install pkg-config if configure fails with "syntax error near unexpected token newline".
See http://stackoverflow.com/questions/3522248/how-do-i-compile-jzmq-for-zeromq-on-osx for details.

You may also need to symlink the header files of your standard Java installation (e.g. /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers/*.h) into a suitable directory (e.g. /usr/local/include) and point the JAVA_HOME environment variable to the parent directory (e.g./usr/local).

Acknowledgements

YourKit is kindly supporting ZeroMQ project with its full-featured Java Profiler.

Copying

Free use of this software is granted under the terms of the GNU Lesser General Public License (LGPL). For details see the files COPYING and COPYING.LESSER included with the Java binding for ØMQ.

Something went wrong with that request. Please try again.