Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Javadoc usage

Posted on 1997-06-25
1
Medium Priority
?
494 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 100 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

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…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

963 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