score:63

Accepted answer

yes, presumably it wants the path to the javadoc command line tool that comes with the jdk (in the bin directory, same as java and javac).

eclipse should be able to find it automatically; are you perhaps running it on a jre? that would explain the request.

score:0

there are already useful answers to this question above, however there is one more possibility which i don't see being addressed here.

we should consider that the java is installed correctly (that's why eclipse could have been launched in the first place), and the jdk is also added correctly to the eclipse. so the issue might be for some reason (e.g. migration of eclipse to another os) the path for javadoc is not right which you can easily check and modify in the javadoc wizard page. here is detailed instructions:

  1. open the javadoc wizard by project->generate javadoc...
  2. in the javadoc wizard window make sure the javadoc command path is correct as illustrated in below screenshot:

eclipsejavadocwizard

score:3

had this problem and solved typing this : c:\program files (x86)\java\jdk1.7.0_51\bin\javadoc.exe

score:8

you may need to add a jdk (java development kit) to the installed jre's within eclipse

go to window->preferences->java->installed jre's

in the name column if you do not have a jdk as your default, then you will need to add it.

click the "add" button and locate the jdk on your machine. you may find it in this location: c:\program files\java\jdk1.x.y
where x and y are numbers.

if there are no jdk's installed on your machine then download and install the java se (standard edition) from the oracle website.

then do the steps above again. be sure that it is set as the default jre to use.

then go back to the projects->generate javadoc... dialog

now it should work.

good luck.

score:11

yes, it is asking for the application/executable that is capable of creating javadoc. there is a javadoc executable inside the jdk's bin folder.


Related Query

More Query from same tag