Fix: Shorthand option -cp not supported in all version of Java
[lttng-ust.git] / doc / examples / java-jul / run
index b8342f7004db1a7202a26fca48211a48c5328711..1beac853f3e9cd59cdbc40887df81e11dbfc070d 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.022709 seconds and 4 git commands to generate.