Fix: Shorthand option -cp not supported in all version of Java
[lttng-ust.git] / doc / examples / java-jul / run
index da8365b76242e49ebceba85344dad25aa9045fd7..3c5952b2c4beabe74afcc78959ca997264ef89ba 100755 (executable)
@@ -19,6 +19,6 @@ else
        LIBPATH="/usr/local/lib:/usr/lib"
 fi
 
-java -cp "$CLASSPATH:." -Djava.library.path="$LIBPATH" Hello
+java -classpath "$CLASSPATH:." -Djava.library.path="$LIBPATH" Hello
 
 cd -
This page took 0.023415 seconds and 4 git commands to generate.