# Installing Software Fails - jdk-openjdk and jre-openjdk are in conflict with each other

**URL:** <https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151>\
**Category:** Issues & Assistance\
**Created:** [November 11, 2023, 11:35pm UTC](https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151 "2023-11-11T23:35:11Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kryptophäe](https://avatars.discourse-cdn.com/v4/letter/k/76d3ee/32.png) [@Kryptophäe](https://rebornos.discourse.group/u/Kryptoph%C3%A4e)\
**Post date:** [November 11, 2023, 11:35pm UTC](https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151/1 "2023-11-11T23:35:11Z")

</div>

i hope i am here right.

I want to install xmrig but i become the follow error message:  
jdk-openjdk und jre-openjdk are in conflict with each other

Anyone an idea how i can solve this?

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [November 11, 2023, 11:37pm UTC](https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151/2 "2023-11-11T23:37:02Z")

</div>

Hi @Kryptophäe

Please follow the instructions here: [https://rebornos.discourse.group/t/fix-package-conflicts-involving-jdk-jre-java-while-updating](https://rebornos.discourse.group/t/fix-package-conflicts-involving-jdk-jre-java-while-updating)

Basically you can run

```sh
sudo pacman -Syu jdk-openjdk

```

---

<div class="post-metadata">

**Author:** ![Kryptophäe](https://avatars.discourse-cdn.com/v4/letter/k/76d3ee/32.png) [@Kryptophäe](https://rebornos.discourse.group/u/Kryptoph%C3%A4e)\
**Post date:** [November 11, 2023, 11:41pm UTC](https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151/3 "2023-11-11T23:41:22Z")

</div>

sudo pacman -Syu jdk-openjdk  
:: Paketdatenbanken werden synchronisiert …  
Reborn-OS ist aktuell  
core ist aktuell  
extra ist aktuell  
multilib ist aktuell  
:: Vollständige Systemaktualisierung wird gestartet …  
:: kdsoap durch extra/kdsoap-qt5 ersetzen? [J/n] j  
:: kuserfeedback durch extra/kuserfeedback5 ersetzen? [J/n] j  
:: libqaccessibilityclient durch extra/libqaccessibilityclient-qt5 ersetzen? [J/n] j  
Abhängigkeiten werden aufgelöst …  
Nach in Konflikt stehenden Paketen wird gesucht …  
Fehler: Nicht auflösbare Paketkonflikte gefunden  
Fehler: Vorgang konnte nicht vorbereitet werden (In Konflikt stehende Abhängigkeiten)  
**:: jdk-openjdk und jre-openjdk stehen miteinander in Konflikt**  
The Same error ☹

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [November 11, 2023, 11:42pm UTC](https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151/4 "2023-11-11T23:42:54Z")

</div>

@Kryptophäe

Try this:

```sh
LANG=C sudo pacman -Rdd jre-openjdk

LANG=C sudo pacman -Syu jdk-openjdk

```

This will remove the JRE and install JDK (which should install JRE too as a dependency).

---

<div class="post-metadata">

**Author:** ![Kryptophäe](https://avatars.discourse-cdn.com/v4/letter/k/76d3ee/32.png) [@Kryptophäe](https://rebornos.discourse.group/u/Kryptoph%C3%A4e)\
**Post date:** [November 11, 2023, 11:47pm UTC](https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151/5 "2023-11-11T23:47:18Z")

</div>

jdk-openjdk and jre-openjdk-headless are in conflict

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [November 11, 2023, 11:49pm UTC](https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151/6 "2023-11-11T23:49:03Z")

</div>

@Kryptophäe

Modified

```sh
LANG=C sudo pacman -Rdd jre-openjdk-headless

LANG=C sudo pacman -Syu jdk-openjdk

```

---

<div class="post-metadata">

**Author:** ![Kryptophäe](https://avatars.discourse-cdn.com/v4/letter/k/76d3ee/32.png) [@Kryptophäe](https://rebornos.discourse.group/u/Kryptoph%C3%A4e)\
**Post date:** [November 12, 2023, 12:12am UTC](https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151/7 "2023-11-12T00:12:32Z")

</div>

many thanks. I installed xmrig but it dont start ☹  
[2023-11-12 01:11:23.878] unable to open “/usr/bin/config.json”.  
[2023-11-12 01:11:23.878] unable to open “/home/zuhause/.xmrig.json”.  
[2023-11-12 01:11:23.878] unable to open “/home/zuhause/.config/xmrig.json”.  
[2023-11-12 01:11:23.878] no valid configuration found, try [Configuration wizard - XMRig](https://xmrig.com/wizard)

---

<div class="post-metadata">

**Author:** ![Kryptophäe](https://avatars.discourse-cdn.com/v4/letter/k/76d3ee/32.png) [@Kryptophäe](https://rebornos.discourse.group/u/Kryptoph%C3%A4e)\
**Post date:** [November 12, 2023, 12:21am UTC](https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151/8 "2023-11-12T00:21:01Z")

</div>

All works 🙂

This is realy one of the best Linux support i have ever seen the last 10 years 🙂

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [November 12, 2023, 12:23am UTC](https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151/9 "2023-11-12T00:23:56Z")

</div>

Thank you! That means a lot 🙂

---

<div class="post-metadata">

**Author:** ![shivanandvp](https://yyz2.discourse-cdn.com/free1/user_avatar/rebornos.discourse.group/shivanandvp/32/10_2.png) [@shivanandvp](https://rebornos.discourse.group/u/shivanandvp)\
**Post date:** [November 12, 2023, 12:25am UTC](https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151/10 "2023-11-12T00:25:18Z")

</div>

What happened to xmrig?

---

<div class="post-metadata">

**Author:** ![Kryptophäe](https://avatars.discourse-cdn.com/v4/letter/k/76d3ee/32.png) [@Kryptophäe](https://rebornos.discourse.group/u/Kryptoph%C3%A4e)\
**Post date:** [November 12, 2023, 12:25am UTC](https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151/11 "2023-11-12T00:25:50Z")

</div>

One more.

This arch Linux Distribution is Realy nice, all works out of the Box 🙂

---

<div class="post-metadata">

**Author:** ![Kryptophäe](https://avatars.discourse-cdn.com/v4/letter/k/76d3ee/32.png) [@Kryptophäe](https://rebornos.discourse.group/u/Kryptoph%C3%A4e)\
**Post date:** [November 12, 2023, 12:27am UTC](https://rebornos.discourse.group/t/installing-software-fails-jdk-openjdk-and-jre-openjdk-are-in-conflict-with-each-other/1151/12 "2023-11-12T00:27:48Z")

</div>

It works. I must edit my config.json and then i can mine some moneros 🙂
