Your example uses sh
as shell, but you are tagging your question as bash, so I take the liberty to propose a bash solution:
Since you are delivering your jar together with a bash starter script, I would require that the starter script and the jar be installed by the user in the same directory. In your starter script, you can then find your own location, and use this information to locate the jar. How to find this location, has been discussed here. Using one of the answers in that page, you could do a:
#!/bin/bash
# Find your own location
install_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# Invoke the jar
java -jar "$install_dir/monkeykingApplication.jar"
Most likely, the user will add the directory of the starter script to their PATH variable, but this is his/her own decision, and you don't have to care about this.