The Temurin packages list jdk{version}-openjdk as a provide so it doesn't solve this issue, however I feel like the blame for that is with them and not this package - I'll just deal with the jank for now. Appreciate the quick response.
Search Criteria
Package Details: java-openjfx-src 28.8-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: | 16 |
| Popularity: | 0.99 |
| First Submitted: | 2023-10-08 20:20 (UTC) |
| Last Updated: | 2026-09-10 20:10 (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-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-whisper-gitAUR, librempeg-gitAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR, ffmpeg-whisperAUR, ffmpeg-obsAUR, ffmpeg-amd-full-gitAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-cuda-fullAUR, ffmpeg-headlessAUR, ffmpeg-full-llvmAUR, ffmpeg-libfdk_aacAUR) (make)
- freetype2 (freetype2-qdoled-aw3225qfAUR, freetype2-gitAUR, freetype2-macosAUR, freetype2-qdoledAUR, freetype2-woledAUR, freetype2-qdoled-gen3AUR) (make)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR, gdk-pixbuf2-noglycinAUR) (make)
- glib2 (glib2-gitAUR, glib2-patched-thumbnailerAUR) (make)
- gperf (gperf-gitAUR) (make)
- gradle (make)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classic-xfceAUR) (make)
- jdk26-openjdk (jdk-temurinAUR, jdk-openjdk) (make)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utils-macbookAUR, libglvnd) (make)
- libx11 (libx11-gitAUR) (make)
- libxtst (make)
- libxxf86vm (make)
- pango (pango-nothai-gitAUR, pango-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (make)
- unzip (unzip-zstdAUR, unzip_pAUR, unzip-natspecAUR) (make)
- zip (zip-natspecAUR) (make)
Required by (1)
- java-openjfx-nowebkit (optional)
Sources (6)
tomwmth commented on 2026-08-21 08:24 (UTC)
patlefort commented on 2026-08-21 00:19 (UTC)
I made it explicitly depend on jdk25-openjdk to build.
tomwmth commented on 2026-08-20 22:29 (UTC)
I use the Temurin JDKs available on the AUR which install to /usr/lib/jvm/java-{version}-temurin. Before the patch, the PKGBUILD was simply appending the non-existent (on my system) /usr/lib/jvm/java-{version}-openjdk to PATH which was fine - the correct Temurin JDK was also in PATH via the archlinux-java script. Now with the explicit JAVA_HOME export the build fails:
==> Starting build()...
ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/java-25-openjdk
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'java-openjfx-28.5-1':
Dominiquini commented on 2026-08-20 19:41 (UTC)
@patlefort: Can you add this line to the 'build' function:
export JAVA_HOME="/usr/lib/jvm/java-25-openjdk"
This way, it is possible to compile even using another version of Java as default!
patlefort commented on 2026-05-15 05:57 (UTC)
What java are you using? I'm building with jdk25-openjdk.
Dominiquini commented on 2026-05-14 20:40 (UTC) (edited on 2026-05-14 20:41 (UTC) by Dominiquini)
...
FAILURE: Build failed with an exception.
* What went wrong:
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 70
> Unsupported class file major version 70
patlefort commented on 2026-03-26 10:53 (UTC)
I updated the version requirement to >= 25.
patlefort commented on 2026-03-26 10:20 (UTC)
I'm hesitant to bump java to 26 when version 25 is still in repos (jdk25-openjdk) and upstream is still building with version 25. You can still use openjfx with java 26 after it's built.
pedrohqb commented on 2026-03-26 10:02 (UTC)
Java 26 is what is in the repo now. Could you update?
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: