Closes #649: java_cmd should not be declared readonly since the command-line parsing overwrites it