[zeromq-dev] Question on connecting a C++ model to a Java model via Python uzing ZeroMQ

Sara Rimer sara.p.rimer at gmail.com
Thu Apr 28 02:55:02 CEST 2016

Hi everyone,

I am finally getting back to this part of my project. So I think the issue
is that I just can't get ZeroMQ to work with Java on my machine. I have
tried JeroMQ as well. I have been following this guide:
http://zeromq.org/bindings:java and when I try

$ java -cp /usr/local/share/java/zmq.jar:. local_lat tcp:// 1 100

I get this error

Error: Could not find or load main class local_lat

I think I have just not found a good guide for how to set up ZeroMQ for
Java on Linux 12.04. Any suggestions?

Thank you.


On Mon, Mar 28, 2016 at 8:30 PM, Stephen Riesenberg <
stephen.riesenberg at gmail.com> wrote:

> Sara,
> How far have you gotten in your effort? Do you have an example class? What
> issues did you run into? What requirements do you have for your API? Is it
> files, or just data you are sending back and forth between these two
> environments?
> Sorry for so many questions, but I bet with a few details we can get you
> pointed in the right direction. Sounds like an interesting project!
> On Friday, March 25, 2016, Sara Rimer <sara.p.rimer at gmail.com> wrote:
>> Hello,
>> This is most likely a very basic usage of ZeroMQ, but I am a
>> computational engineer and I am trying to connect a hydraulic model written
>> in C++ to a decision tree model written in Java. I would like to send data
>> files back and forth between the two programs. I am using ZeroMQ for this.
>> And I have gotten ZeroMQ to work via Python no problem (which I am planning
>> on using for my C++ model which I run via a bash script). However, I am
>> having difficulty interfacing it with Java. I was planning on just creating
>> a class in Java that is solely used to interface with ZeroMQ. Does anyone
>> have any suggestions?
>> Thanks,
>> Sara
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Sara Rimer
University of Michigan Graduate Student
Department of Civil and Environmental Engineering
srimer at umich.edu
sara.p.rimer at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160427/d78d1efc/attachment.htm>

More information about the zeromq-dev mailing list