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-10-27 15:35 (UTC) by patlefort)
I have modified install locations:
Some variables are defined in
/etc/profile.d/java-openjfx-profile.sh./usr/bin/java-openjfx-envcan also be sourced. To launch an application with openjfx, you can use for example: