What java are you using? I'm building with jdk25-openjdk.
Search Criteria
Package Details: java-openjfx 27.16-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 |
| Provides: | java-openjfx |
| Submitter: | freswa |
| Maintainer: | patlefort |
| Last Packager: | patlefort |
| Votes: | 13 |
| Popularity: | 0.95 |
| First Submitted: | 2023-10-08 20:20 (UTC) |
| Last Updated: | 2026-05-14 19:31 (UTC) |
Dependencies (25)
- java-runtime-openjdk (jdk10-openj9-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre18-openjdkAUR, liberica-jre-11-full-binAUR, liberica-jre-8-full-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jre13-openjdkAUR, jre15-openjdkAUR, jre19-openjdkAUR, zulu-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, jdk11-openj9-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jdk17-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk23-temurinAUR, zing-23-binAUR, jdk17-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, zulu-24-binAUR, liberica-nik-23-full-binAUR, liberica-nik-24-full-binAUR, jdk-openj9-binAUR, liberica-nik-25-full-binAUR, zulu-21-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica-full-binAUR, jdk-openjdk-wakefieldAUR, jre-openjdk-wakefieldAUR, jre25-temurinAUR, jre21-temurinAUR, jre17-temurinAUR, zulu-jre21-fxAUR, zulu-jre25-fxAUR, zulu-jre17-fxAUR, jre8-temurinAUR, jre11-temurinAUR, zulu-jre8-fxAUR, zulu-jre11-fxAUR, jre17-zulu-binAUR, jre21-zulu-binAUR, zulu-8-binAUR, zulu-11-binAUR, zulu-25-binAUR, jre25-zulu-binAUR, zing-21-binAUR, zing-17-binAUR, zing-8-binAUR, jdk8-perfAUR, jdk25-openjdk-wakefieldAUR, jre25-openjdk-wakefieldAUR, zulu-17-binAUR, zulu-26-fx-binAUR, jdk21-jetbrains-binAUR, liberica-jdk-21-binAUR, jdk16-temurinAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, liberica-jdk-25-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk25-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jre22-openjdkAUR, jdk22-openjdkAUR, jre23-openjdkAUR, jdk23-openjdkAUR, jdk24-openjdkAUR, jre24-openjdkAUR, zulu-17-fx-binAUR, jdk25-openj9-binAUR, jdk11-temurinAUR, jdk17-openj9-binAUR, jdk21-openj9-binAUR, liberica-jdk-11-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-17-full-binAUR, java-openjdk-ea-binAUR, jdk-temurinAUR, zulu8-fx-binAUR, zulu21-fx-binAUR, zulu-jre-fx-binAUR, zulu-jdk-fx-binAUR, jre-jetbrainsAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk25-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre25-openjdk, jre8-openjdk)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utils-macbookAUR, libglvnd)
- libx11 (libx11-gitAUR)
- libxtst
- 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-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-amd-full-gitAUR, librempeg-gitAUR, ffmpeg-whisper-gitAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR, ffmpeg-fullAUR, ffmpeg-full-llvmAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-headlessAUR, ffmpeg-whisperAUR, ffmpeg-cuda-fullAUR) (make)
- freetype2 (freetype2-qdoled-aw3225qfAUR, freetype2-qdoledAUR, freetype2-qdoled-gen3AUR, freetype2-woledAUR, freetype2-gitAUR, freetype2-macosAUR) (make)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR, gdk-pixbuf2-noglycinAUR) (make)
- glib2 (glib2-gitAUR, glib2-patched-thumbnailerAUR) (make)
- gperf (gperf-gitAUR) (make)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classic-xfceAUR) (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, jdk19-openjdkAUR, zulu-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, jdk11-openj9-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk17-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk8-dragonwell-extendedAUR, jdk23-temurinAUR, zing-23-binAUR, jdk17-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, zulu-24-binAUR, liberica-nik-23-full-binAUR, liberica-nik-24-full-binAUR, jdk-openj9-binAUR, liberica-nik-25-full-binAUR, zulu-21-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica-full-binAUR, jdk-openjdk-wakefieldAUR, jdk21-graalvm-ee-binAUR, zulu-8-binAUR, zulu-11-binAUR, zulu-25-binAUR, zing-21-binAUR, zing-17-binAUR, zing-8-binAUR, jdk8-perfAUR, jdk25-openjdk-wakefieldAUR, zulu-17-binAUR, zulu-26-fx-binAUR, jdk21-jetbrains-binAUR, liberica-jdk-21-binAUR, jdk16-temurinAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, liberica-jdk-25-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk25-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk22-openjdkAUR, jdk23-openjdkAUR, jdk24-openjdkAUR, jdk17-graalvm-ee-binAUR, zulu-17-fx-binAUR, jdk25-openj9-binAUR, jdk11-temurinAUR, jdk17-openj9-binAUR, jdk21-openj9-binAUR, liberica-jdk-11-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-17-full-binAUR, java-openjdk-ea-binAUR, jdk-temurinAUR, zulu8-fx-binAUR, zulu21-fx-binAUR, zulu-jdk-fx-binAUR, jre-jetbrainsAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk25-openjdk, jdk8-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-gitAUR, pango-nothai-gitAUR) (make)
- Show 5 more dependencies...
Required by (70)
- autopsy
- beast2
- bluej
- bluej-preview
- bread-bin
- ccemux-git (make)
- ccemux-git (optional)
- cgm-life-dataexport
- chunky-launcher
- cmpdl
- convertwithmoss-git
- cryspmds
- csound-blue
- dataspell (optional)
- dataspell-eap (optional)
- datawarrior
- davmail (optional)
- domterm-git (make)
- durian
- easytranscript
- Show 50 more...
Sources (6)
patlefort commented on 2026-05-15 05:57 (UTC)
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?
alexzk commented on 2025-11-07 23:08 (UTC) (edited on 2025-11-07 23:09 (UTC) by alexzk)
Could you change _java_ver=25 please ? V25 is what is in repos now. Building V24 to install FX for V25 is a bit overkill. I try that locally, it builds. Oh, and replace "gradle8" with just "gradle".
BoBeR182 commented on 2025-11-07 09:12 (UTC)
==> Starting build()...
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
> Task :buildSrc:compileGroovy FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildSrc:compileGroovy'.
> BUG! exception in phase 'semantic analysis' in source unit '/home/user/.cache/yay/java-openjfx/src/jfx-26-15/buildSrc/src/main/groovy/com/sun/javafx/gradle/CCTask.groovy' Unsupported class file major version 69
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 20s
1 actionable task: 1 executed
==> ERROR: A failure occurred in build().
Aborting...
-> error making: java-openjfx-exit status 4
patlefort commented on 2025-10-27 09:48 (UTC)
I added a profile.d file with some variables: https://aur.archlinux.org/cgit/aur.git/tree/java-openjfx-profile.sh?h=java-openjfx
alexzk commented on 2025-10-26 23:40 (UTC)
Need to add file like /etc/profile.d/java-global-options.sh
With content
!/bin/sh
Set global Java options to include the JavaFX native library path
export _JAVA_OPTIONS="-Djava.library.path=/usr/lib/java-openjfx"
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: