Author: rajith
Date: Mon Jun 18 14:50:24 2012
New Revision: 1351373

URL: http://svn.apache.org/viewvc?rev=1351373&view=rev
Log:
QPID-4027 Added a README on how to run the example.

Added:
    qpid/branches/address-refactor2/qpid/java/client-api/README

Added: qpid/branches/address-refactor2/qpid/java/client-api/README
URL: 
http://svn.apache.org/viewvc/qpid/branches/address-refactor2/qpid/java/client-api/README?rev=1351373&view=auto
==============================================================================
--- qpid/branches/address-refactor2/qpid/java/client-api/README (added)
+++ qpid/branches/address-refactor2/qpid/java/client-api/README Mon Jun 18 
14:50:24 2012
@@ -0,0 +1,14 @@
+1. Running the C++ binding
+============================
+1. Build the c++ source using cmake.
+   (I haven't added automake support yet, don't plan to do so.)
+
+2. Set the LD_LIBRARY_PATH path as follows.
+   export 
LD_LIBRARY_PATH=${cmake-build-dir}/src/:${cmake-build-dir}/bindings/qpid/java/
+
+3. Set the classpath for the java client and run the example as follows.
+   java -cp $QP org.apache.qpid.messaging.cpp.CppTest
+
+4. If it complains that libmawt.so cannot be found, then add it as follows to 
the  LD_LIBRARY_PATH
+   Ex export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${path-to-java}/jre/lib/amd64/xawt/
+   (You need to search for libmawt.so in your Java installation for the 
correct path and add it.)



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to