惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
Blog — PlanetScale
Blog — PlanetScale
MyScale Blog
MyScale Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
WordPress大学
WordPress大学
Vercel News
Vercel News
D
Docker
博客园 - 聂微东
T
Tailwind CSS Blog
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
D
DataBreaches.Net
B
Blog RSS Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
Microsoft Security Blog
Microsoft Security Blog
美团技术团队
F
Fortinet All Blogs
MongoDB | Blog
MongoDB | Blog
T
The Blog of Author Tim Ferriss
GbyAI
GbyAI
N
Netflix TechBlog - Medium
G
Google Developers Blog
腾讯CDC

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - java-openjfx
2026-06-12 · via AUR Newest Packages

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:

  • .so files are in /usr/lib/java-openjfx
  • .jar and .jmod files are in /usr/share/java/java-openjfx

Some variables are defined in /etc/profile.d/java-openjfx-profile.sh. /usr/bin/java-openjfx-env can also be sourced. To launch an application with openjfx, you can use for example:

source java-openjfx-env
java $OPENJFX_JAVA_OPTIONS --add-modules javafx.swing,... <your java application>

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?

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)

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"