Edit check_sqljob.sh script and replace javacmd=`which java` with actual path of java below is an example javacms=/usr/local/java/bin/java