java-environment-openjdk=23
is provided by the AUR package jdk23-openjdk
, which requires jdk22-openjdk
to build first. So build jdk22-openjdk
-> jdk23-openjdk
-> java-openjfx
. It's a bit of a pain but that's their requirements. My tool can simplify things by automatically managing containers, installing dependencies and building dependencies in the right order. You will have however to add a provider mapping in the target config file, example:
&providers-map= [
[&satisfies= ['java-environment=22' 'java-runtime=22'] &pkg= ['jdk22-openjdk']]
[&satisfies= ['java-environment=23' 'java-runtime=23'] &pkg= ['jdk23-openjdk']]
]
Read https://gitlab.com/patlefort/pat-aur/-/blob/master/doc/examples/config.target.example
Pinned Comments
patlefort commented on 2025-05-03 18:24 (UTC) (edited on 2025-05-03 18:24 (UTC) by patlefort)
I've bumped the version but also modified the install locations:
It will require java 23, which requires java 22 to build. I have also removed webkit support.