Java11-openjfx: UPdate fails

The UPdate 2023-05-07 has been done without any issue. After that, there was a new announcment:

$ pamac checkupdates -a
1 Aktualisierungen verfügbar:
java11-openjfx         11.0.18.u1-1 -> 11.0.19.u1-2  AUR

This fails after 10 Minutes:

> Task :code-quality:compileGroovy
Note: /var/tmp/pamac-build-hessler/gradle7/src/gradle-7.6/subprojects/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/ uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :docs:userguideSinglePagePdf FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':docs:userguideSinglePagePdf'.
> Remote Asciidoctor process failed to complete successfully

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.

* Get more help at

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.


BUILD FAILED in 10m 28s
2802 actionable tasks: 2746 executed, 56 from cache

A build scan was not published as you have not authenticated with server ''.
For more information, please see
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...

Actual version

$ java --version
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=gasp
openjdk 20.0.1 2023-04-18
OpenJDK Runtime Environment (build 20.0.1+9)
OpenJDK 64-Bit Server VM (build 20.0.1+9, mixed mode, sharing)

*Java Installations here:

How can I check, if any appliction needs jdk11?

Remove Java 11, it was dropped to the AUR.

Try to remove it and paste the output if in doubt.

Thank you @mithrial but I don’t like the idea to loose ganttproject:

$ pamac remove java11-openjfx
- removing java11-openjfx not possible, needed for ganttproject

Any idea for a workaround?

Hello @MaMicha :wink:

Wouldn’t it make more sense to install such a tool as user? I mean, it is told here that you just need to extract it and add it to PATH. From what I see it is like Android-Studio not intended to be used in a global environment.

As said, remove the AUR packages and use it in your home directory or maybe in /opt. That would be a better solution.

Thank you @megavolt, this sounds extremely difficult to me and I dont’t need Gradle. I want GANTTproject. Now I removed the AUR package and installed it from here; this claims:

GanttProject requires Java Runtime with JavaFX. You are using Oracle Corporation OpenJDK 64-Bit Server VM 11.0.19+7. JavaFX is available in BellSoft Liberica or Azul Zulu Java Runtime.

Should I give a try to a (which?) Zulu-package?
After removing GANTTproject from AUR, I did successfully:
$ pamac remove java11-openjfx

If extracting and adding the bin folder to PATH is difficult, then no idea. It is the most simple setup. :man_shrugging:

No idea. Maybe @andreas85 has more knowledge since he is a Java programmer.

1 Like

It’s the maintainers issue that packaged this project.
It depends hard on java 11 but java 11 is broken, you can only wait.

Or you could adjust the PKGBUILD file that it’ll install the beta version which is apparently supporting Java 17.