• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 498
  • Last Modified:

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.
0
tland
Asked:
tland
1 Solution
 
jpk041897Commented:
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now