Package Details: java11-openjfx-doc 11.0.20.u1-1

Git Clone URL: https://aur.archlinux.org/java11-openjfx.git (read-only, click to copy)
Package Base: java11-openjfx
Description: Java OpenJFX 11 client application platform (open-source implementation of JavaFX)
Upstream URL: https://wiki.openjdk.java.net/display/OpenJFX/Main
Licenses: custom
Submitter: freswa
Maintainer: None
Last Packager: JstKddng
Votes: 2
Popularity: 0.076955
First Submitted: 2023-04-20 20:17 (UTC)
Last Updated: 2023-11-29 19:23 (UTC)

Dependencies (22)

Required by (0)

Sources (6)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

JstKddng commented on 2023-05-11 04:55 (UTC)

ah now I see, you have to unset JDK_JAVA_OPTIONS also.

Firechris commented on 2023-05-11 04:48 (UTC)

I am using Java 11, JAVA_HOME is set properly and I still cannot update this package. Somehow Gradle seems to have a problem detecting the Java version:

$ archlinux-java status
Available Java environments:
  android-studio
  java-11-openjdk (default)
  java-11-temurin
  java-17-openjdk
  java-17-temurin
  java-20-openjdk
  java-20-temurin
  java-8-openjdk
$ rm -rf ~/.cache/pacaur/java11-openjfx*
$ pacaur -Suy --noconfirm --noedit --rebuild  --overwrite
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 archlinuxfr is up to date
 oracle is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Starting AUR upgrade...
:: resolving dependencies...
:: looking for inter-conflicts...

AUR Packages  (3) java11-openjfx-11.0.19.u1-2  java11-openjfx-doc-11.0.19.u1-2  java11-openjfx-src-11.0.19.u1-2

:: Proceed with installation? [Y/n]
:: Retrieving package(s)...
clone complete: /home/chris/.cache/pacaur/java11-openjfx
:: Checking java11-openjfx,java11-openjfx-doc,java11-openjfx-src integrity...
==> Making package: java11-openjfx 11.0.19.u1-2 (Thu May 11 06:38:42 2023)
==> Retrieving sources...
  -> Downloading java11-openjfx-11.0.19.u1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 63.4M    0 63.4M    0     0  6915k      0 --:--:--  0:00:09 --:--:-- 5697k
  -> Found gradle.properties
  -> Found java11-openjfx-flags.patch
  -> Found java11-openjfx-no-xlocale.patch
  -> Found java11-openjfx-gstreamer-lite-gcc10-compat.patch
==> Validating source files with b2sums...
    java11-openjfx-11.0.19.u1.tar.gz ... Passed
    gradle.properties ... Passed
    java11-openjfx-flags.patch ... Passed
    java11-openjfx-no-xlocale.patch ... Passed
    java11-openjfx-gstreamer-lite-gcc10-compat.patch ... Passed
:: Preparing java11-openjfx,java11-openjfx-doc,java11-openjfx-src...
==> Making package: java11-openjfx 11.0.19.u1-2 (Thu May 11 06:38:52 2023)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
  -> Found java11-openjfx-11.0.19.u1.tar.gz
  -> Found gradle.properties
  -> Found java11-openjfx-flags.patch
  -> Found java11-openjfx-no-xlocale.patch
  -> Found java11-openjfx-gstreamer-lite-gcc10-compat.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting java11-openjfx-11.0.19.u1.tar.gz with bsdtar
bsdtar: Failed to set default locale
==> Starting prepare()...
patching file buildSrc/linux.gradle
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
patching file modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile
patching file modules/javafx.web/src/main/native/Source/ThirdParty/libxslt/src/libxslt/xsltlocale.h
patching file modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
Hunk #1 succeeded at 56 with fuzz 2 (offset 3 lines).
==> Sources are ready.
:: Building java11-openjfx,java11-openjfx-doc,java11-openjfx-src package(s)...
==> Making package: java11-openjfx 11.0.19.u1-2 (Thu May 11 06:38:56 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
NOTE: Picked up JDK_JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dsun.java2d.opengl=true

> Task :buildSrc:compileGroovy
NOTE: Picked up JDK_JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dsun.java2d.opengl=true

FAILURE: Build failed with an exception.

* Where:
Build file '/home/chris/.cache/pacaur/java11-openjfx/src/jfx11u-11.0.19-1/build.gradle' line: 638

* What went wrong:
A problem occurred evaluating root project 'jfx11u-11.0.19-1'.
> Unable to determine the version of Java in JDK_HOME at /usr/lib/jvm/default

* 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 3s
2 actionable tasks: 2 executed
==> ERROR: A failure occurred in build().
    Aborting...
:: failed to build java11-openjfx,java11-openjfx-doc,java11-openjfx-src package(s)
$ echo $JAVA_HOME
/usr/lib/jvm/default
$ ls -l /usr/lib/jvm/
drwxr-xr-x  - root 16 Jan 21:00 android-studio
lrwxrwxrwx 15 root 11 Mai 06:30 default -> java-11-openjdk
lrwxrwxrwx 15 root 11 Mai 06:30 default-runtime -> java-11-openjdk
drwxr-xr-x  - root 21 Apr 06:24 java-8-openjdk
drwxr-xr-x  - root 21 Apr 06:24 java-11-openjdk
drwxr-xr-x  - root 19 Jan 05:44 java-11-openjfx
drwxr-xr-x  - root 24 Apr 05:56 java-11-temurin
drwxr-xr-x  - root 21 Apr 06:24 java-17-openjdk
drwxr-xr-x  - root 24 Apr 05:56 java-17-temurin
drwxr-xr-x  - root 25 Apr 18:59 java-20-openjdk
drwxr-xr-x  - root 24 Apr 05:56 java-20-temurin
$ java -version
NOTE: Picked up JDK_JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dsun.java2d.opengl=true
openjdk version "11.0.19" 2023-04-18
OpenJDK Runtime Environment (build 11.0.19+7)
OpenJDK 64-Bit Server VM (build 11.0.19+7, mixed mode)
$ gradle -version
Using /usr/bin/gradle
NOTE: Picked up JDK_JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dsun.java2d.opengl=true

------------------------------------------------------------
Gradle 8.1.1
------------------------------------------------------------

Build time:   2023-04-21 15:50:53 UTC
Revision:     <unknown>

Kotlin:       1.8.10
Groovy:       3.0.15
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          11.0.19 (Oracle Corporation 11.0.19+7)
OS:           Linux 6.3.1-arch2-1 amd64

JstKddng commented on 2023-05-10 16:47 (UTC)

You have to use java 11 to compile this package.

bgg4r4 commented on 2023-05-10 15:50 (UTC) (edited on 2023-05-10 16:02 (UTC) by bgg4r4)

==> Starting build()...
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file '/var/tmp/pamac-build-kevin/java11-openjfx/src/jfx11u-11.0.19-1/settings.gradle' (/home/kevin/.gradle/caches/7.6/scripts/9kxj4h4bd5tqt11iaeynzfeq2).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64

Here's inside setting.gradle

include "base", "graphics", "controls", "swing", "swt", "fxml", "fxpackager", "fxpackagerservices", "web", "media", "systemTests"

project(":base").projectDir = file("modules/javafx.base")
project(":graphics").projectDir = file("modules/javafx.graphics")
project(":controls").projectDir = file("modules/javafx.controls")
project(":swing").projectDir = file("modules/javafx.swing")
project(":swt").projectDir = file("modules/javafx.swt")
project(":fxml").projectDir = file("modules/javafx.fxml")
project(":fxpackager").projectDir = file("modules/jdk.packager")
project(":fxpackagerservices").projectDir = file("modules/jdk.packager.services")
project(":web").projectDir = file("modules/javafx.web")
project(":media").projectDir = file("modules/javafx.media")
project(":systemTests").projectDir = file("tests/system")

def closedDir = file("../rt-closed")
def buildClosed = closedDir.isDirectory()

if (buildClosed) {
    File supplementalSettingsFile = new File("../rt-closed/closed-settings.gradle");
    apply from: supplementalSettingsFile
}

include 'apps'

marco.righi commented on 2023-05-07 14:50 (UTC) (edited on 2023-05-07 14:51 (UTC) by marco.righi)

java11-openjfx error does not permit to install ganttproject

BUILD FAILED in 2s
3 actionable tasks: 3 executed
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: java11-openjfx-exit status 4
==> Making package: ganttproject 3.2.3240-2 (Sun May  7 16:48:50 2023)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> java11-openjfx
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
 -> error making: ganttproject-exit status 8
 -> Failed to install the following packages. Manual intervention is required:
ganttproject - exit status 8
java11-openjfx - exit status 4

JoJoModding commented on 2023-04-24 08:29 (UTC) (edited on 2023-04-24 08:30 (UTC) by JoJoModding)

I get a build failure during JavaDoc:

> Task :javadoc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':javadoc'.

more specifically, the error is caused by stuff like

../java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.graphics/src/main/java/javafx/scene/Node.java:227: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
 * <h3>String ID</h3>
   ^
../java11-openjfx/src/jfx11u-11.0.19-1/modules/javafx.graphics/src/main/java/javafx/scene/layout/BorderPane.java:85: error: heading used out of sequence: <H3>, compared to implicit preceding heading: <H1>
 * <h3>Resizable Range</h3>
   ^

SmashedSqwurl commented on 2023-04-21 00:32 (UTC)

This fixed it for me:

diff --git a/PKGBUILD b/PKGBUILD
index 4231cdb..81318e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,7 +31,7 @@ makedepends=(
   gdk-pixbuf2
   glib2
   gperf
-  gradle
+  gradle7
   gtk2
   gtk3
   java-environment-openjdk=11
@@ -73,7 +73,7 @@ build() {
   # build against ffmpeg4.4
   export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'

-  gradle zips
+  gradle7 zips
 }

 package_java11-openjfx() {