kill process on OOM error

Kills the process after an OutOfMemoryError, unless the user has requested dumps which they would do by setting the JVM_ARGS or JAVA_OPTS environment variables. Use of the killjava.sh script is needed because  the double quotes in the exec portion of the JVM option are processed differently between the command-line (for standalone java apps) and jvm.options.