title: How can I call a Java program from a shell script without having the shell script to wait for the program to finish execution?
body: <pre><code>#!/bin/bash 
  JAVA_HOME="jdkpath"
  CLASSPATH="JAR file path" . 
  $JAVA_HOME/bin/java -cp $CLASSPATH JavaClass 
  exit 0
  </code></pre>
  
  <p>I am using the above shell script to call my Java program but I want to make sure that once the shell script calls the Java program, it does not sit idle and wait for the program to complete. I don't know how to do that. I read in an online forum that I can put an "&amp;" symbol at the end of the command where I supply the JAR file path but I am not sure since I am new to shell scripting. All the help is greatly appreciated.</p>