Creating javadoc in eclipse

When I try to create Javadocs for an Android project, I go to Project> Generate Javadoc, but the first line asks for "Javadoc Command". What is happening there?

+6
source share
3 answers

Project → Create Javadoc. See here .

To do this, you must install the JDK, and Eclipse needs to know about it. Download one .

+4
source

You do not have "javadoc.exe" because when installing eclipse it installs only the JAVA JRE, and the "bin" folder from the JRE does not have javadoc. Follow this link: http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html and download the JDK. When you install the JDK, look for "javadoc.exe" in the installed folder, you will find it in the "bin" folder in your installed folder. Now you can link to it in the "Javadoc Command" from eclipse by clicking the "Configure" button.

+2
source

Fill in the path to the javadoc command-line tool that comes with the JDK (in the bin directory, just like java and javac). e.g. C: \ Program Files \ Java \ jdk1.7.0_07 \ bin

0
source

Source: https://habr.com/ru/post/886951/


All Articles