/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/bin/javadoc is in gcj-4.9-jdk 4.9.3-13ubuntu2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/bin/../../../../bin/gjdoc-4.9
/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/bin/../../../../bin/gjdoc-4.9