Package Details: java-openjfx-doc 25.21-1

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: 11
Popularity: 0.89
First Submitted: 2023-10-08 20:20 (UTC)
Last Updated: 2025-06-19 21:45 (UTC)

Dependencies (21)

Required by (1)

Sources (3)

Pinned Comments

patlefort commented on 2025-05-03 18:24 (UTC) (edited on 2025-05-03 18:24 (UTC) by patlefort)

I've bumped the version but also modified the install locations:

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

It will require java 23, which requires java 22 to build. I have also removed webkit support.

Latest Comments

1 2 3 4 5 Next › Last »

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-05-03 18:24 (UTC) by patlefort)

I've bumped the version but also modified the install locations:

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

It will require java 23, which requires java 22 to build. I have also removed webkit support.

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.

dreieck commented on 2024-07-23 14:31 (UTC)

Ahoj @Freso,

what about uploading a package java-openjfx-no-webkit, with provides=("java-openjfx=${pkgver%%.*}") and an adapted $pkgdesc saying "without WebKit"?, so that we at least have a working java-openjfx available?