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
"$@" corresponds to "$1" "$2" "$3" etc. "$*" corresponds to "$1 $2 $3" which you do not seem to need.
"$@"
"$1" "$2" "$3"
"$*"
"$1 $2 $3"
Without quotes, there is no difference, they both correspond to $1 $2 $3 etc.
$1 $2 $3