Compile Error for Import com.sun.javadoc.*;
I need to write some simple doclets and found some beginner code on the Sun website. The first line of the sample app is:
import com.sun.javadoc.*;
However, I get a compile error:
C:\JavaDoc\Doclet\ListClass.java:1:package com.sun.javadoc does not exist
import com.sun.javadoc.*;
I found the com.sun.javadoc package in the tools.jar file in the lib directory of my sdk. So I added the following to my classpath:
C:\j2sdk1.4.2_08\lib;
Then I recompiled but received the same error. What have I done wrong? I'm on Windows XP.
TIA.

