Make APPEND_JAVA_OPTS configurable, and setup PATH for nodejs/execjs.