1, right-click in the project list, select Export, and then in the Export dialog box, select Javadoc under Java to submit to the next step.
There are two places to note in the Javadoc Generation dialog box:
Javadoc command: The bin/javadoc.exe of the JDK should be selected
Destination: To create a saved path for a document, you can choose freely.
Press Finish to submit to start generating the document.
2, select by menu: File->export (export from file),
The rest of the steps are the same as the first method.
3, select the project you want to generate the document in, then select it with the menu,
Project->generate Javadoc directly into the Javadoc Generation dialog, the remaining steps are the same as the first method at the beginning of the Javadoc Generation dialog box.
If you are prompted: encode GBK characters that are not mapped
eclipse generates Javadoc garbled problem resolution
If the source file encoding uses UTF-8 encoding, then the resulting document can be garbled, the workaround is as follows:
Generate Javadoc, in the Third dialog box, in the "Extra Javadoc Options" text box, add
-encoding UTF-8-charset UTF-8
Javadoc time garbled-encoding GBK non-mapped characters