Update javadoc.py

[#57987] Fix broken command by passing the full path for the command options