Home > front end >  JavaDoc 18 in Eclipse
JavaDoc 18 in Eclipse

Time:06-12

Eclipse Version: 2022-03 (4.23.0) jdk-18.0.1.1 Exporting JavaDoc displays following error:

javadoc: error - error: invalid source release: 18
1 error

But using Maven the JavaDoc is processed correctly with no errors.

Any suggestions for how to correct the Eclipse problem would be appreciated. Thanks

CodePudding user response:

Make sure that in the dialog that is shown for Project > Generate Javadoc..., the field Javadoc command refers to the Javadoc executable of a Java 18 JDK.

  • Related