I am using a bash script to call and execute a .jar file from any location without having to constantly enter its explicit path.
.jar
The .jar r
$* is all parameters as a single word, $@ is all parameters as individual quoted string.
$*
$@
I usually ends up using "$@", seems to work the best for me.
"$@"