[zeromq-dev] Java on windows issue
Robin Weisberg
robin.weisberg at gmail.com
Mon Jul 20 21:10:48 CEST 2009
Hi folks, I'm trying to evaluate zmq to see if it will work for a trading
system we are building out. We would be using linux servers w/ c/c++ and
java gui running on windows. We would want to use pgm primarily.
First a question, I know you have pgm support for c/c++ on windows, I see
the pgm_local_thr.exe example. Any reason pgm wouldn't work for Java on
windows? I dont' see a specific example of it, so just asking before I jump
in.
Regarding the issue, right now I'm trying to run a basic java example on
windows and it seems to instantly crash
C:\zmq-1.0.0\perf>echo %PATH%
C:\Program Files\Java\jdk1.6.0_14\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Intel\DMIXc:\cygwin\bin;C:\Program Files\MySQL\MySQL Server
5.1\bin;c:\zmq-1.0.0\bin
C:\zmq-1.0.0\perf>java -version
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)
C:\zmq-1.0.0\perf>java -Djava.library.path=c:\zmq-1.0.0\java -classpath
c:\zmq-1.0.0\java;.\ j_local_lat localhost 1 10
message size: 1 [B]
roundtrip count: 10
At this point I get the windows popup saying your program has crashed. I'm
able to get the c/c++ versions local_thr/pgm_local_thr and their remote
counterparts to work on the same machines and I can get the j_local_thr and
its remote counterpart to work too. This seems to be specific to java and
the latency test.
Below is some info on the error although I'm you will want something more.
I'm running Windows XP SP3 and I've installed the microsoft message queue
stuff to support pgm (although thats not what I'm testing here)
Thanks!
Robin
This is from the windows error message:
AppName: java.exe AppVer: 6.0.140.8 ModName: msvcr90.dll
ModVer: 9.0.21022.8 Offset: 000731cf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090720/b2f9bf99/attachment.htm>
More information about the zeromq-dev
mailing list