GNU bug report logs - #53934
OpenJDK doesn't have a doclet

Previous Next

Package: guix;

Reported by: Igor Gajsin <igor <at> gajsin.name>

Date: Thu, 10 Feb 2022 23:38:01 UTC

Severity: normal

Done: Michael Rohleder <mike <at> rohleder.de>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 53934 <at> debbugs.gnu.org (full text, mbox):

From: Igor Gajsin <igor <at> gajsin.name>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: 53934 <at> debbugs.gnu.org
Subject: Re: bug#53934: OpenJDK doesn't have a doclet
Date: Mon, 14 Feb 2022 22:26:27 +0100
I narrowed down where the problem arise and found the exact bugreport:
https://github.com/clojure-emacs/orchard/issues/117#issuecomment-859987280

Unfortunately, I didn't get the solution 'one has to use ONLY the
package "openjdk:jdk"'. What does it mean?

Also, why openjdk removes javadoc, is it a bug or a correct behaviour?

Michael Rohleder <mike <at> rohleder.de> writes:

> [[PGP Signed Part:Undecided]]
> Igor Gajsin <igor <at> gajsin.name> writes:
>> There is a problem with openjdk (all versions 10 to 17). When I run
>> cider (emacs mode for clojure) it complains about:
>> java.lang.ClassNotFoundException: jdk.javadoc.doclet.Doclet
>>
>> when I try to set icedtea there is no such problem. If I understand well
>> doclet is a part of JDK so it shoulb be part of a modern openjdk
>> installation.
>
> I haven't tried, but maybe adding a file "module-info.java" with the
> content "requires jdk.javadoc" to your project might help. [1]
>
> [1]
> https://stackoverflow.com/questions/65683365/why-cant-i-import-the-jdk-javadoc-doclet-package


-- 
With best regards,
Igor Gajsin




This bug report was last modified 3 years and 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.