Re: JDK/JRE and older Java versions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, 28 Apr 2024 12:44:03 +0200
Peter Nabbefeld <peter.nabbefeld@xxxxxx> wrote:

> On 23.04.24 18:28, Doug Newgard wrote:
> > On Tue, 23 Apr 2024 08:49:21 +0200
> > Peter Nabbefeld <peter.nabbefeld@xxxxxx> 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-require-manual-intervention/
> > 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"



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux