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_COMMON
="lttng-ust-agent-common.jar"
11 JARFILE_JUL
="lttng-ust-agent-jul.jar"
16 if [ -f "$DIR/.intree" ]; then
17 CLASSPATH
="../../../liblttng-ust-java-agent/java/lttng-ust-agent-common/$JARFILE_COMMON"
18 CLASSPATH
="$CLASSPATH:../../../liblttng-ust-java-agent/java/lttng-ust-agent-jul/$JARFILE_JUL"
19 LIBPATH
="../../../liblttng-ust-java-agent/jni/jul/.libs"
21 CLASSPATH
="/usr/local/share/java/$JARFILE_COMMON:/usr/share/java/$JARFILE_COMMON"
22 CLASSPATH
="$CLASSPATH:/usr/local/share/java/$JARFILE_JUL:/usr/share/java/$JARFILE_JUL"
23 # Use system defined java.library.path
24 #LIBPATH="/usr/local/lib:/usr/lib"
27 if [ "x$LIBPATH" != "x" ]; then
28 JAVA_OPTIONS
="$JAVA_OPTIONS -Djava.library.path=$LIBPATH"
31 java
-classpath "$CLASSPATH:." $JAVA_OPTIONS Hello
This page took 0.030005 seconds and 4 git commands to generate.