Solved

Javadoc usage

Posted on 1997-06-25
1
457 Views
Last Modified: 2008-03-04
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
Comment
Question by:tland
1 Comment
 
LVL 6

Accepted Solution

by:
jpk041897 earned 50 total points
ID: 1222165
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 96
eclipse shortcuts 9 55
Error trying to install RTMT Win7 5 60
table example 4 29
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question