Vincent Legoll writes:
> you should try adding the "doc" output from the jdk > > see https://guix.gnu.org/manual/en/guix.html#Packages-with-Multiple-Outputs Thanks that was the clue I needed - for future readers the exact solution was: (native-inputs `(("openjdk:jdk" ,openjdk14 "jdk"))) javadoc is in the jdk, not the doc output.