OoviperoO
OoviperoO

Reputation: 71

Create javadoc in eclipse

When trying to generate Javadocs for an Android project, I go to Project>Generate Javadoc, but the first line asks for a "Javadoc Command". What goes there?

Upvotes: 6

Views: 7088

Answers (3)

UmAnusorn
UmAnusorn

Reputation: 11184

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

Upvotes: 0

Jefferson Fidencio
Jefferson Fidencio

Reputation: 381

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

Upvotes: 2

Vladimir Ivanov
Vladimir Ivanov

Reputation: 43108

Project -> Generate Javadoc. See here.

In order to do it, you have to have JDK installed and Eclipse must be aware of it. Download one.

Upvotes: 4

Related Questions