JDK/JRE and older Java versions
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
On Tue, 23 Apr 2024 08:49:21 +0200
Peter Nabbefeld
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. Second, exact errors, always.
Hi Peter
On Tue, 23 Apr 2024 08:49:21 +0200
Peter Nabbefeld
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.
As a Java Developer you probably need the JDK versions. On 23/04/2024 17:28, Doug Newgard wrote:
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. Indeed, this now counts for all versions in Arch repos.
-- Leonidas Spyropoulos A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
On 24.04.24 08:33, Leonidas Spyropoulos wrote:
Hi Peter Hi Leonidas,
On Tue, 23 Apr 2024 08:49:21 +0200 Peter Nabbefeld
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.
As a Java Developer you probably need the JDK versions. Sometimes it's preferable to use a JRE for testing, as the JDK provides some extra classes.
On 23/04/2024 17:28, Doug Newgard wrote:
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. Indeed, this now counts for all versions in Arch repos.
That's bad. Any possible workaround? Thank You, kind regards, Peter
On 23.04.24 18:28, Doug Newgard wrote:
On Tue, 23 Apr 2024 08:49:21 +0200 Peter Nabbefeld
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
On Sun, 28 Apr 2024 12:44:03 +0200
Peter Nabbefeld
On 23.04.24 18:28, Doug Newgard wrote:
On Tue, 23 Apr 2024 08:49:21 +0200 Peter Nabbefeld
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"
participants (3)
-
Doug Newgard
-
Leonidas Spyropoulos
-
Peter Nabbefeld