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 <m...@rohleder.de> writes:

> [[PGP Signed Part:Undecided]]
> Igor Gajsin <i...@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



Reply via email to