I’m having problem compiling a project in Eclipse.
The import com.sun.javadoc cannot be resolved
I added tools.jar as an external jar, changed default compiler to use jdk instead of jre, did Project -> Clean afterwards. But nothing of this helped. What am I missing here?
UPD: this is how it looks like (packages exist on the left, but not seen on the right):
alt text http://3593.iz.piccy.info.nyud.net/i5/93/35/353593/lol.gif
There’s a typo.
If you’re attempting to run javadoc programmatically, you need to use
and not