I need the user to input a jar file location Target.jar as the parameter of a bash function.
Target.jar
I first try
if ! command -v java -jar &1