On Sun, 28 Apr 2024 12:44:03 +0200 Peter Nabbefeld <peter.nabbefeld@gmx.de> wrote:
On 23.04.24 18:28, Doug Newgard wrote:
On Tue, 23 Apr 2024 08:49:21 +0200 Peter Nabbefeld <peter.nabbefeld@gmx.de> wrote:
Hello,
as a Java developer, I sometimes need to do compatibility checking using older versions, often using JRE, while I need a JDK for development.
When I tried to update arch linux now, I found I cannot start any update because the update is blocked by setting JRE and JDK as conflicting packages. I tried to only install JDK 21, but the update is still being blocked because of my older versions of the JRE.
Why do You block any software installation? I don't like the idea to enforce me to use any specific software, or to remove any specific one. Is there any possibility to remove the lock-in?
Kind regards, Peter
There is no blocking or lock-in. First off, see https://archlinux.org/news/incoming-changes-in-jdk-jre-21-packages-may-requi... which now applies to some of the older versions as well. Yes, I've read this already before. It clearly states what I've written about: If I have a JRE installed, I cannot install a JDK any more. That's my problem: I do need different JDKs and JREs for testing purposes.
Second, exact errors, always. "jdk-openjdk and jre-openjdk are in conflict"
Kind regards, Peter
You didn't read very carefully then. "The JDK variant package includes the runtime environment to execute Java applications"