# Arch Linux: Incoming changes in JDK / JRE 21 packages may require manual intervention

**URL:** <https://forum.devtalk.com/t/arch-linux-incoming-changes-in-jdk-jre-21-packages-may-require-manual-intervention/130734>\
**Category:** Linux Official News\
**Tags:** newsbot, linux, arch, arch-linux, official-news\
**Created:** [2 November 2023 11:04 UTC](https://forum.devtalk.com/t/arch-linux-incoming-changes-in-jdk-jre-21-packages-may-require-manual-intervention/130734 "2023-11-02T11:04:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NewsBot](https://forum.devtalk.com/user_avatar/forum.devtalk.com/newsbot/32/1114_2.png) [@NewsBot](https://forum.devtalk.com/u/NewsBot)\
**Post date:** [2 November 2023 11:04 UTC](https://forum.devtalk.com/t/arch-linux-incoming-changes-in-jdk-jre-21-packages-may-require-manual-intervention/130734/1 "2023-11-02T11:04:44Z")

</div>

A new [Arch Linux](https://devtalk.com/arch-linux) blog post/announcement has been posted!

> [@](#):
>
> We are introducing a change in JDK/JRE packages of our distro. This is triggered from the way a JRE is build in modern versions of Java (\>9). We are introducing this change in Java 21.
> 
> To sum it up instead of having JDK and JRE packages coexist in the same system we will be making them conflict. The JDK variant package includes the runtime environment to execute Java applications so if one needs compilation and runtime of Java they need only the JDK package in the future. If, on the other hand, they need just runtime of Java then JRE (or jre-headless) will work.
> 
> This will (potentially) require a manual user action during upgrade:
> 
> - if you have both JDK and JRE installed you can manually install the JDK with pacman -Sy jdk-openjdk and this removes the JRE related packages.
> - if you have both JRE and JRE-headless you will need to choose one of them and install it manually since they would conflict each other now.
> - If you only have one of t...

Get the full details here: [Arch Linux - News: Incoming changes in JDK / JRE 21 packages may require manual intervention](https://archlinux.org/news/incoming-changes-in-jdk-jre-21-packages-may-require-manual-intervention/)
