I'd recommend using the provided gradle wrapper instead of forcing users to build gradle v8 from Aur, which in turn needs an older version of JDK to build than what this package installs OpenJFX for.
Search Criteria
Package Details: java-openjfx-doc 26.6-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/java-openjfx.git (read-only, click to copy) |
---|---|
Package Base: | java-openjfx |
Description: | Java OpenJFX client application platform (open-source implementation of JavaFX) - latest version |
Upstream URL: | https://wiki.openjdk.java.net/display/OpenJFX/Main |
Keywords: | javafx openjfx |
Licenses: | GPL-2.0-only WITH Classpath-exception-2.0 |
Submitter: | freswa |
Maintainer: | patlefort |
Last Packager: | patlefort |
Votes: | 12 |
Popularity: | 0.93 |
First Submitted: | 2023-10-08 20:20 (UTC) |
Last Updated: | 2025-09-04 19:52 (UTC) |
Dependencies (21)
- alsa-lib (make)
- ant (ant-gitAUR) (make)
- cairo (cairo-gitAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-amd-fullAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-gitAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg-decklinkAUR) (make)
- freetype2 (freetype2-qdoledAUR, freetype2-qdoled-aw3225qfAUR, freetype2-macosAUR, freetype2-gitAUR) (make)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR) (make)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (make)
- gperf (gperf-gitAUR) (make)
- gradle8AUR (make)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classicAUR) (make)
- java-environment-openjdk (jdk10-openj9-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, liberica-jre-11-full-binAUR, liberica-jre-8-full-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, zulu-8-binAUR, liberica-jdk-11-lite-binAUR, jdk19-openjdkAUR, zulu-jdk-fx-binAUR, zulu-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk-android-studioAUR, zulu-11-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, openjdk-liberica-full-binAUR, jdk17-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk8-dragonwell-extendedAUR, liberica-jdk-11-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-17-full-binAUR, jdk23-temurinAUR, zing-23-binAUR, jdk22-openjdkAUR, jdk23-openjdkAUR, jdk17-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk-wakefieldAUR, zing-21-binAUR, zing-8-binAUR, zing-17-binAUR, jdk8-perfAUR, openjdk-zulu-ca-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, zulu-21-binAUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, zulu-24-binAUR, liberica-nik-23-full-binAUR, liberica-jdk-21-binAUR, zulu-17-binAUR, jdk21-openj9-binAUR, jdk17-openj9-binAUR, jdk21-jetbrains-binAUR, zulu-17-fx-binAUR, zulu8-fx-binAUR, java-openjdk-binAUR, liberica-nik-24-full-binAUR, jdk-openj9-binAUR, jre-jetbrainsAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (make)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, libglvnd) (make)
- libx11 (libx11-gitAUR) (make)
- libxtst (make)
- libxxf86vm (make)
- pango (pango-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (python37AUR) (make)
- unzip (unzip-natspecAUR, unzip-zstdAUR, unzip-pAUR) (make)
- Show 1 more dependencies...
Required by (1)
- java-openjfx-nowebkit (optional)
Sources (3)
Huulivoide commented on 2025-09-05 08:02 (UTC) (edited on 2025-09-05 08:05 (UTC) by Huulivoide)
patlefort commented on 2025-06-20 11:18 (UTC)
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
csej commented on 2025-06-20 09:49 (UTC)
Ok, just a heads-up: I installed java-openjfx-bin instead, and got the application I needed working (painfully).
But I am trying to debug why installing this package didnt work out. I followed https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot up to
arch-nspawn $CHROOT/root pacman -Syu
which works fine. Then, I go into the directory of java-openjfx
containing the PKGBUILD from the AUR (on my regular system, not $CHROOT), and then type
makechrootpkg -c -r $CHROOT
which tells me that some dependencies are missing, leading to an ERROR: Build failed
. Most of the dependencies I can install with
arch-nspawn $CHROOT/root pacman -S alsa-lib ant cairo cmake ffmpeg freetype2 gdk pixbuf2 gperf gradle gtk3 libgl libx11 libxtst libxxf86vm pango python unzip zip
but I cannot install java-environment-openjdk
as it is on the AUR, there arch-nspawn $CHROOT/root pacman -S
does not find the package. Since there is a lot of dependencies, I tried to install yay
(my AUR helper) in the $CHROOT
so it would handle them for me, but after doing
makechrootpkg -c -r $CHROOT
in the yay
folder containing the PKGBUILD, I cannot use arch-nspawn $CHROOT/root yay -S java-openjfx
as it tells me
execv(yay) failed: No such file or directory
Do you know how to go forward? I am very new to this stuff, I am kind of over my head
patlefort commented on 2025-06-20 08:24 (UTC)
Builds fine in a clean container here, can you test that? Read on https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot or use pat-aur
, developed by yours truly.
csej commented on 2025-06-20 07:52 (UTC) (edited on 2025-06-20 07:53 (UTC) by csej)
Hello, I am having issues trying to install this package. My system is up to date. When trying to install via "yay -S java-openjfx", the installation starts, but it always blocks at :
Building targets 'images legacy-jre-image docs' in configuration 'linux-x86_64-server-release'
Then it compiles some files. But it just hangs when compiling certain files:
Compiling up to 8 files for jdk.unsupported.desktop
It just stops there, no error whatsoever. Do you know what could be the problem? I also get a warning about pandoc
version, which is 3.1.12.1
, and the recommended one seems to be 2.19.2
.
patlefort commented on 2025-05-03 18:24 (UTC) (edited on 2025-09-05 11:14 (UTC) by patlefort)
I have modified install locations:
- .so files are in /usr/lib/java-openjfx
- .jar and .jmod files are in /usr/share/java/java-openjfx
dreieck commented on 2024-07-23 15:34 (UTC)
Now there is a package java-openjfx-nowebkit
.
dreieck commented on 2024-07-23 14:48 (UTC)
The -src
and -doc
package have their license symlinked from the main package, but do not depend on it. This can result in missing license (broken symlink).
Maybe add a java-openjfx-license
package and make all the other packages depend on that?
dreieck commented on 2024-07-23 14:41 (UTC)
Please remove the ,
s after the optdepends
entries.
Pinned Comments
patlefort commented on 2025-05-03 18:24 (UTC) (edited on 2025-09-05 11:14 (UTC) by patlefort)
I have modified install locations: