4 # The -cp path should be changed to the lttng ust JUL jar file on your system
5 # or locally to the project. Same goes for the Java library path in order to
6 # find the JNI JUL library.
10 JARFILE
="liblttng-ust-agent.jar"
15 if [ -f "$DIR/.intree" ]; then
16 CLASSPATH
="../../../liblttng-ust-java-agent/java/$JARFILE"
17 LIBPATH
="../../../liblttng-ust-java-agent/jni/jul/.libs"
19 CLASSPATH
="/usr/local/share/java/$JARFILE:/usr/share/java/$JARFILE"
20 # Use system defined java.library.path
21 #LIBPATH="/usr/local/lib:/usr/lib"
24 if [ "x$LIBPATH" != "x" ]; then
25 JAVA_OPTIONS
="$JAVA_OPTIONS -Djava.library.path=\"$LIBPATH\""
28 java
-classpath "$CLASSPATH:." $JAVA_OPTIONS Hello
This page took 0.033159 seconds and 4 git commands to generate.