First try to make sure it is not the config file path issue. You may define an explicit config file location with
"-config filename.properties" parameter.
Example:
java -jar pd4ml.jar -config /path/filename.properties file:/path/template.htm /path/out.pdf