From fa80acf33b9feaf02e6050e43c259020551c32b3 Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Mon, 18 Jun 2012 14:50:24 +0000 Subject: QPID-4027 Added a README on how to run the example. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/address-refactor2@1351373 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/java/client-api/README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 qpid/java/client-api/README (limited to 'qpid/java/client-api') diff --git a/qpid/java/client-api/README b/qpid/java/client-api/README new file mode 100644 index 0000000000..ebd6323ba2 --- /dev/null +++ b/qpid/java/client-api/README @@ -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.) -- cgit v1.2.1