[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53934: OpenJDK doesn't have a doclet
From: |
Igor Gajsin |
Subject: |
bug#53934: OpenJDK doesn't have a doclet |
Date: |
Mon, 14 Feb 2022 22:26:27 +0100 |
User-agent: |
mu4e 1.6.10; emacs 28.0.50 |
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@rohleder.de> writes:
> [[PGP Signed Part:Undecided]]
> Igor Gajsin <igor@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