Fork me on GitHub
#cider
<
2023-12-27
>
vemv10:12:10

Wondering if any Debian user could check if there's a working JDK21 equivalent for

$ sudo apt install openjdk-17-source openjdk-17-doc
so that we can update the relevant https://docs.cider.mx/cider/troubleshooting.html#navigation-to-jdk-sources-doesnt-work. Same for Red Hat/Fedora/CentOS:
$ sudo dnf install java-17-openjdk-src java-17-openjdk-javadoc

vemv10:12:41

Apparently it's there https://tracker.debian.org/pkg/openjdk-21 but I'd appreciate someone actually running this stuff 🙂

jpmonettas12:12:14

for Debian, if you are on Bookworm (latest stable) the newest one is openjdk-17, but on Trixie (current in testing) we have openjdk-21 and 22, with sources, docs and everything

jpmonettas12:12:53

I have been using openjdk-21 from debian for some time and works no problems

practicalli-johnny12:12:25

I would leave the docs at open-jdk17 as an example, at least until Long-term support Linux distros start including version 22 If anyone is on a testing or rolling release then it's a reasonable expectation that they know too check if there is a later openjdk release and all versions back to 8 are still available as packages As far as I am aware there is no requirement for cider to use Java21 over java17

practicalli-johnny12:12:25

Or use xx as the version and suggested using apt search --names-only openjdk to see available versions for Debian based distros

vemv16:12:05

Thanks folks! I'll see what we can do :thinking_face: