This content has been marked as final. Show 11 replies
JAVA JRE is the Java Runtime Environment (i.e. the virtual machine) only. This is sufficient to run Java programs, but not to develop them.
If you want to program in Java, you should install the JDK, the Java Development Kit. It contains the JRE as well as Sun's Java compiler javac and some nice helper applications (including javadoc). The JDK can be downloaded from Sun (http://java.sun.com). On windows, the current JDK is usually installed to C:\Program Files\jdk1.6.0_06. Javadoc is in C:\Program Files\jdk1.6.0_06\bin.
Finally, this is more of an Eclipse issue than a Javadoc issue. You'd probably be better of asking for Eclipse help in a - surprise, surprise - Eclipse forum. ;-)
Thomas Behr is right. You just need to have a full JDK (not just JRE) installed on your
computer, and, then, to specify in Eclipse the file pathname of the Javadoc executable
(ie. javadoc.exe) contained in that JDK.
I also believe that Eclipse developers were right that Eclipse itself isn't meddling much
with Javadoc and leaves everything to specify by the user. This adds a lot of flexibility
and simplicity (unlike, for instance, the same situation in Maven).
However, it may add also a few problems to newbies...
We have prepared some explanation (with a couple of screenshots) about how to run
Javadoc from Eclipse:
Actually, this explains how to run in Eclipse the Javadoc with DocFlex/Doclet.
However, in the same way you can specify any other custom doclet or no doclet at all.
i even dont have this option under projectThis is probably because the Eclipse version you use wasn't configured for Java development.
what should i do ?
The Javadoc feature isn't installed there.
(It's clear that as being a universal platform, Eclipse shouldn't show all menu items
for every feature possible.)
Probably, it is still possible to install Javadoc launcher...
Try, for instance, "Help | Software | Updates | Find and Install".
However, the better way would be to download a version of Eclipse specifically prepared
for Java developers, e.g. "Eclipse IDE for Java Developers" currently found on