summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qpid/java/client-api/README14
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.)