I’ve been experimenting in the VM (where is the same situation) a bit now…
In the above link to the Archlinux thread, post number 6 seems to me to be the most comprehensive suggested solution. I’ll just quote this here:
Just do
# pacman -S jre-openjdk
You’ll see
Sync Dependency (1): jre-openjdk-21.u35-7
resolving dependencies...
looking for conflicting packages...
:: jre-openjdk and jre-openjdk-headless are in conflict. Remove jre-openjdk-headless? [y/N]
and you can answer ‘y’ to remove jre-openjdk-headless. Then, if jre-openjdk was originally installed as a dependency for some other package, you can mark it as such by
# pacman -D --asdeps jre-openjdk
In the console it looks like this:
❯ sudo pacman -S jre-openjdk
[sudo] password for xxx:
resolving dependencies...
looking for conflicting packages...
:: jre-openjdk and jre-openjdk-headless are in conflict. Remove jre-openjdk-headless? [y/N] y
Package (2) Old Version New Version Net Change
jre-openjdk-headless 21.u35-3 -192.59 MiB
extra/jre-openjdk 21.u35-3 21.u35-7 152.35 MiB
Total Installed Size: 152.93 MiB
Net Upgrade Size: -40.24 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [--------------------------------------------] 100%
(1/1) checking package integrity [--------------------------------------------] 100%
(1/1) loading package files [--------------------------------------------] 100%
(1/1) checking for file conflicts [--------------------------------------------] 100%
:: Processing package changes...
No Java environment is set as default anymore
(1/1) removing jre-openjdk-headless [--------------------------------------------] 100%
(1/1) upgrading jre-openjdk [--------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Checking which packages need to be rebuilt
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_GB",
LC_ALL = (unset),
LC_ADDRESS = "de_DE.UTF-8",
LC_NAME = "de_DE.UTF-8",
LC_MONETARY = "de_DE.UTF-8",
LC_PAPER = "de_DE.UTF-8",
LC_IDENTIFICATION = "de_DE.UTF-8",
LC_TELEPHONE = "de_DE.UTF-8",
LC_MEASUREMENT = "de_DE.UTF-8",
LC_TIME = "de_DE.UTF-8",
LC_NUMERIC = "de_DE.UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_GB",
LC_ALL = (unset),
LC_ADDRESS = "de_DE.UTF-8",
LC_NAME = "de_DE.UTF-8",
LC_MONETARY = "de_DE.UTF-8",
LC_PAPER = "de_DE.UTF-8",
LC_IDENTIFICATION = "de_DE.UTF-8",
LC_TELEPHONE = "de_DE.UTF-8",
LC_MEASUREMENT = "de_DE.UTF-8",
LC_TIME = "de_DE.UTF-8",
LC_NUMERIC = "de_DE.UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_GB",
LC_ALL = (unset),
LC_ADDRESS = "de_DE.UTF-8",
LC_NAME = "de_DE.UTF-8",
LC_MONETARY = "de_DE.UTF-8",
LC_PAPER = "de_DE.UTF-8",
LC_IDENTIFICATION = "de_DE.UTF-8",
LC_TELEPHONE = "de_DE.UTF-8",
LC_MEASUREMENT = "de_DE.UTF-8",
LC_TIME = "de_DE.UTF-8",
LC_NUMERIC = "de_DE.UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
~ 59s
❯ sudo pacman -D --asdeps jre-openjdk
jre-openjdk: install reason has been set to 'installed as dependency'
I don’t know what these perl warnings are all about! Is this a problem?
Then I restarted the system and started JDownloader as a test (MediathekView doesn’t start in my VM anyway because I apparently don’t have enough RAM there!).
JDownloader starts normally!
So apparently problem solved?!