1) How do I tell if I have java 5 or java 6 installed?

2) I have my program commented using javadoc syntax. However, when I run javadoc from the command prompt and then open the html files, I do not see any documentation. What am I doing wrong?

For instance, my comments look like this in the source file:

/**
		*	Determines if two APoint objects are equivalent
		*	@param b the APoint object being compared with 'this'
		*	@return a boolean value which determines if two points are equal
		*/

I type in the following into the command-line prompt: javadoc filename.java
Then I don't see anything in the html files???

1) Open Command prompt either (Start>All Programs>Acsessories>Command Prompt or Windows key + R>type cmd > OK)there type java -version
2) No idea

javadoc has some other parameters as arguments besides the filename.java. I don't remember them exactly but if you search the internet you might find ways to use them

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.