[java-sig-commits] [Bug 754365] package com.sun.javadoc does not exist; package com.sun.tools.doclet does not exist

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 16 14:54:56 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=754365

--- Comment #6 from Deepak Bhole <dbhole at redhat.com> 2011-11-16 09:54:54 EST ---
Hi Alex,

I was a bit confused by the original report. I didn't realize that the classes
were still there, just not visible.

It seems that somehow for OpenJDK6 maven was seeing tools.jar but now it isn't.
I think the workaround should then be to add tools.jar to the classpath
regardless of version of the JDK. With 1.6 this should have no ill-effect and
with 1.7 the classes will be seen correctly. Tools.jar is not supposed to be in
the system classpath since 1.5 (at least) anyway.

This link explains how to do it for maven:
http://maven.apache.org/general.html#tools-jar-dependency

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the java-sig-commits mailing list