Creating JavaDocs (HELP!)

I posted this on the Java Programming section, didn't know this forum for javadocs existed.....

Hi, I wrote here yesterday asking about javadocs and looking for information on them. I found this website, which is great and full of information about javadocs.

http://java.sun.com/products/jdk/1.2/docs/tooldocs/win32/javadoc.html

But it doesn't clearly tell me how to load them. I've heard using, I think it was SDK or JDK somehow will compile the API and put in all the comments, create HTML etc etc.....but the question is how?

Where I work, the javadocs are created in America using MKS (like Visual Source Safe) you just put them in and a nightly build compiles everything, but here in sunny Scotland, I have had to copy all the current javadocs to a server that doesn't have anything like that on it and is specific for my needs. I have created code and put in all the javadocs comments in and now I need to compile it via SDK or JDK to get it all to appear. So how?

Is there any other sites that give specific instruction on how SDK/JDK would do this. Basically an instruction guide. Or if somebody out there in the Java world has done it and could write down the basic instructions I could work it out from there?

Since this was written I have found the javadoc.exe. But how does it work?

What do I have to put in my class path.......and please don't write, set -classpath, path1; path2 etc...thats all on the website and is of no use to me whatsoever?!

Thanks all in advance for help that I hopefully will receive!

Mark

[1592 byte] By [MarkPowella] at [2007-9-27 8:43:57]
# 1
I have just run javadoc.exe from \jkd131\bin at the command prompt and it just said:javadoc: No packages or classes specified.How do I specify the packages and classes and where? I think thats really all I need to know now!Mark.
MarkPowella at 2007-7-8 17:10:43 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2

The examples on the page you point to describe how to pass in either package names or source filenames:

http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/javadoc.html#examples

If you're using packages, you specify the path to the packages using -sourcepath.

You specify the directory where you want the html files to go with -d. Use

-subpackages if you want all subpackages from a top-level packages.

Does that help?

-Doug Kramer

Javadoc team

dkramera at 2007-7-8 17:10:43 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...