The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
May 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Better Javadoc

Posted by Monte Gardner on February 23, 2001 at 12:22 PM

> > I have purchased Thinking in Java. So far, I have difficulty of how to view javadoc over the explorer or netscape.

> > In the book, it shows how to use javadoc comments (put comment in the java source code prior to the class etc..) However, It does not show how to use or view javadoc.

> > Would you please give me some instruction.

> > thanks

> Hi,
> First of all, Thinking in Java is a great book-It is available free on
> Regarding javadoc,
> -Create a folder and store the class files that you want to create javadocs for.
> -You need to hava a javadoc.exe.
> -Using command prompt, type javadoc -d c:**** c:&&&&&*.java where
> c:**** represents the folder you want to create the javadocs in, and
> c:&&&&&*.java represents the folder where to take class files to create javadocs from.
> Once this is over, simply go to the c:**** folder where you will
> find .html files with the entire documentation.

> Hope that this helps and is not confusing!
> :)
> Jyothi.


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us