Javadoc usage

I am attempting to generate documentation on my own application packages
using the javadoc utility pacakged with JDK 1.1.  Everything works fine
except that the resulting HTML files do not contain hyperlink references
to any of the standard Java class documentation.  There are plain text
references to these classes, such as Object and Hashtable (two standard
Java classes being used by my class), but these references are not
embedded HTML tags.  How do you motivate javadoc to automatically
include these references as HTML tags instead of just plain text?  Is
there something I need to add to my CLASSPATH to get this to happen?
Thank you in advance for your assistance.
tlandAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jpk041897Connect With a Mentor Commented:
Your guess is prety close to the mark :-)

The problem is caused by the fact that javadoc cannot find the source files for Java. To solve this, override the path using:

javadoc -classpath C:\JDK1.1\src;.;...  File.java

I.e.: change the path to refect your current CLASSPATH env. var. but add the path to the JDK source files.


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.