I'm using a method in shell script to execute a jar file.
function executeJar(){
java -cp $BASE_PATH"myjar.jar":$CLASSPATH/* com.sample.main.App config.json
}
Even after the jar completes execution, the java process is still active and not getting killed. Should i kill it manually ? What is a solution for this.