| 1 | This directory contains a simple API for instrumenting java applications. |
| 2 | |
| 3 | Configuration examples to build this library: |
| 4 | |
| 5 | dependency: sun-java6-jdk |
| 6 | ./configure --with-java-jdk=/usr/lib/jvm/java-6-sun --with-jni-interface |
| 7 | |
| 8 | dependency: openjdk-6-jdk |
| 9 | ./configure --with-java-jdk=/usr/lib/jvm/java-6-openjdk --with-jni-interface |
| 10 | |
| 11 | dependency: gcj-4.4-jdk |
| 12 | ./configure --with-java-jdk=/usr/lib/jvm/java-gcj --with-jni-interface |
| 13 | |
| 14 | |
| 15 | After building, you can use the liblttng-ust-java.jar file in a Java project. |
| 16 | It requires the liblttng-ust-java.so* files (which get installed when doing |
| 17 | `make install') so make sure those are in the linker's library path. |