943,568 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 479
  • Java RSS
May 4th, 2008
0

some basic questions

Expand Post »
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:

Java Syntax (Toggle Plain Text)
  1. /**
  2. * Determines if two APoint objects are equivalent
  3. * @param b the APoint object being compared with 'this'
  4. * @return a boolean value which determines if two points are equal
  5. */

I type in the following into the command-line prompt: javadoc filename.java
Then I don't see anything in the html files???
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster
degamer106 is offline Offline
131 posts
since Mar 2006
May 5th, 2008
0

Re: some basic questions

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
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,653 posts
since Dec 2004
May 5th, 2008
0

Re: some basic questions

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
Sponsor
Featured Poster
Reputation Points: 1014
Solved Threads: 446
Nearly a Senior Poster
javaAddict is offline Offline
3,258 posts
since Dec 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: MVC - Model View Controller
Next Thread in Java Forum Timeline: Displaying the content of the database in JTextArea





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC