jmx_agent: Make Java command configurable

This PR adds a new `java_command` option, defaulting to "java". This option can be used to alter the command used to run jmxterm, e.g. to add sudo (`java_command='sudo -u tomcat java'`).