Friends,
I changed the name of the textfile but now I have another question:
I got the next message:
D:\Java\bin>javadoc BeerSong.java
Loading source file BeerSong.java...
Constructing Javadoc information...
Standard Doclet version 1.6.0_21
Building tree for all the packages and classes...
Generating BeerSong.html...
Generating package-frame.html...
Generating package-summary.html...
Generating package-tree.html...
Generating constant-values.html...
Building index for all the packages and classes...
Generating overview-tree.html...
Generating index-all.html...
Generating deprecated-list.html...
Building index for all classes...
Generating allclasses-frame.html...
Generating allclasses-noframe.html...
Generating index.html...
Generating help-doc.html...
Generating stylesheet.css...
I Have no class in the bin directory of the BeerSong.
When I give the next command:
java BeerSong
I get an error:
Exception in
thread "main" java.lang.NoClassDefFoundError: BeerSong
then a view messages and then: Could not found the main class: BeerSong . Program will exit
Can someone explain what I do wrong.