diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2012-06-18 14:50:24 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2012-06-18 14:50:24 +0000 |
commit | fa80acf33b9feaf02e6050e43c259020551c32b3 (patch) | |
tree | 2556d44ce93d4de9c879f75dee56ef44791dbe95 | |
parent | 369f30ef78e238b16999a031c3edfbf74df2e0eb (diff) | |
download | qpid-python-fa80acf33b9feaf02e6050e43c259020551c32b3.tar.gz |
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
-rw-r--r-- | qpid/java/client-api/README | 14 |
1 files changed, 14 insertions, 0 deletions
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.) |