javadoc run time error

when i run javadoc it comes up the error message "javadoc: warning - No source file for package diceGame.javajavadoc: error - no public or protected classes found to document"just wondering what this means and if u's have any advice to solve the problem..
[277 byte] By [xbox200a] at [2007-10-2 10:48:07]
# 1
If you include the command you used to run javadoc, as well as the path from the current directory to the source files, I can probably help you.
dhkramera at 2007-7-13 3:04:02 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
i type in "javadoc -package diceGame.java" The file is called diceGame and is saved on my desktop.The javadoc is saved in program file/java/bin
xbox200a at 2007-7-13 3:04:02 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 3

The error message means javadoc cannot find the source file. When passing in source files, you must specify the relative or absolute path to them. You didn't say what your current directory is. This should work:

cd "c:\program files\java\bin"

javadoc -d docs diceGame.java

Then point your browser to c:\program files\java\bin\docs\index.html

I strongly recommend using the -d option (destination) to create a directory in which all the HTML files go, so they don't get scattered in your bin directory.

You probably don't want the -package option, as that documents all package-private members.

-Doug

dhkramera at 2007-7-13 3:04:02 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...