Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

New to JavaDocs question

843810Jan 27 2003 — edited Jan 28 2003
I am just learning about JavaDocs and I'm having some problems. I keep getting this error no matter what I try:
javadoc: No public or protected classes found to document.

Here is my set up. I copied all my .java files to a src directory (they were in with the .class files, so I moved them). I have several packages, each with many objects.

I have objects in these classes:
/src/com/mycompany/package1/
/src/com/mycompany/package2/
/src/com/mycompany/package3/

When I run this command, I get the error mentioned:
javadoc -sourcepath /src/com -subpackages mycompany -classpath /src/com:$CLASSPATH

Any help would be appreciated.

Thanks,
Tyson
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2003
Added on Jan 27 2003
3 comments
112 views