libreoffice-core depends on java-11-openjdk. I use JDK 17 on my machine which should be compatible with any Java packages that were built with JDK 11 because of forward/upward/backward compatibility. The issue is that even with JDK 17 installed DNF wants to install JDK 11. This is only the case on Mageia according to the requires list here: https://mageia.pkgs.org/8/mageia-core-updates-x86_64/libreoffice-core-7.2.5.2-1.mga8.x86_64.rpm.html Other distributions: https://fedora.pkgs.org/35/fedora-updates-x86_64/libreoffice-core-7.2.5.2-1.fc35.x86_64.rpm.html https://ubuntu.pkgs.org/21.04/libreoffice-amd64/libreoffice-core_7.2.5~rc2-0ubuntu0.21.04.1~lo1_amd64.deb.html https://debian.pkgs.org/11/debian-main-amd64/libreoffice-core_7.0.4-4+deb11u1_amd64.deb.html
CC: (none) => rdkracz
Basically Mageia is the only distribution that have marked JDK 11 as a dependency for libreoffice-core
Thank you for the report. Yes, our LibreOffice does indeed specifically require 'java-11-openjdk'. Although I believe it is OK to have >1 Java version installed, it is certainly not sensible if more recent ones really are backward compatible with the specified version. 'If' is a big word. Assigning to tv for LO; CC'ing Java for their comment.
CC: (none) => javaAssignee: bugsquad => thierry.vignaudSource RPM: libreoffice-core => libreoffice-7.2.5.2-1.mga8.src.rpm