X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust-java%2FREADME;h=d2ca47810d11b2f34f63ee46a34680084efff3d8;hb=6e9ac4ae894690c95df4566289422c4c05ab472a;hp=37834e691d3e2c1b5cf76b39201814e2976ecf8c;hpb=69400ac4a4e6575f749c6326df7c2a2c8ac3bdc5;p=lttng-ust.git diff --git a/liblttng-ust-java/README b/liblttng-ust-java/README index 37834e69..d2ca4781 100644 --- a/liblttng-ust-java/README +++ b/liblttng-ust-java/README @@ -2,11 +2,14 @@ This directory contains a simple API for instrumenting java applications. Configuration examples to build this library: -dependency: sun-java6-jdk -./configure --with-java-jdk=/usr/lib/jvm/java-6-sun --with-jni-interface +dependency: openjdk-7-jdk +./configure --enable-jni-interface -dependency: openjdk-6-jdk -./configure --with-java-jdk=/usr/lib/jvm/java-6-openjdk --with-jni-interface +Note that the OpenJDK 7 is used for development and continuous integration thus +we directly support that version for this library. However, it has been tested +with OpenJDK 6 also. Please let us know if other Java version (commercial or +not) work with this library. -dependency: gcj-4.4-jdk -./configure --with-java-jdk=/usr/lib/jvm/java-gcj --with-jni-interface +After building, you can use the liblttng-ust-java.jar file in a Java project. +It requires the liblttng-ust-java.so* files (which get installed when doing +`make install') so make sure those are in the linker's library path.