Package Details: java8-openjfx 8.u202-9

Git Clone URL: https://aur.archlinux.org/java8-openjfx.git (read-only, click to copy)
Package Base: java8-openjfx
Description: Java OpenJFX 8 client application platform (open-source implementation of JavaFX)
Upstream URL: https://wiki.openjdk.java.net/display/OpenJFX/Main
Keywords: java8-openjfx openjfx
Licenses: GPL
Provides: java-openjfx
Submitter: freswa
Maintainer: Rogach
Last Packager: Rogach
Votes: 11
Popularity: 0.71
First Submitted: 2022-03-09 18:41 (UTC)
Last Updated: 2024-04-24 04:47 (UTC)

Required by (84)

Sources (11)

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 Next › Last »

Pillgar commented on 2023-01-29 06:14 (UTC)

Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true openjdk version "1.8.0_362" OpenJDK Runtime Environment (build 1.8.0_362-b09) OpenJDK 64-Bit Server VM (build 25.362-b09, mixed mode)

I tried removing 'java8-openjfx' and reinstalling, but no dice.

Rogach commented on 2023-01-29 04:14 (UTC) (edited on 2023-01-29 04:14 (UTC) by Rogach)

@SimPilotAdamT Your output shows a different error:

* What went wrong:
Execution failed for task ':checkJfxrtJar'.
> FAIL: /usr/lib/jvm/java-8-openjdk/jre/lib/ext/jfxrt.jar must be removed before building sdk

Can you try uninstalling java8-openjfx before building?

SimPilotAdamT commented on 2023-01-28 23:33 (UTC) (edited on 2023-01-28 23:35 (UTC) by SimPilotAdamT)

@Rogach I have the same issue as @Pillgar with that command output being the following:

openjdk version "1.8.0_362"
OpenJDK Runtime Environment (build 1.8.0_362-b09)
OpenJDK 64-Bit Server VM (build 25.362-b09, mixed mode)

That's the latest version of openjdk8 as in the official repos...

Rogach commented on 2023-01-26 15:06 (UTC)

@Pillgar What's the output of /usr/lib/jvm/java-8-openjdk/bin/java -version?

Rogach commented on 2023-01-26 14:59 (UTC) (edited on 2023-01-26 14:59 (UTC) by Rogach)

@K4LCIFER @W47MPUSv @Ghosthree3

jfxrt.jar is actually the main file that is provided by this package (java8-openjfx). I suppose the build breaks if javac attempts to compile classes that are already on the classpath, thus they had to add a check for the presence of jfxrt.

Building the package in clean chroot doesn't work either, since it depends on python2 which is in the AUR.

So for now the only solution is to uninstall java8-openjfx, run the build, and then install it back again.

Pillgar commented on 2023-01-26 02:24 (UTC)

FAILURE: Build failed with an exception.

  • Where: Build file '/home/atlantida/.cache/yay/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 758

  • What went wrong: A problem occurred evaluating root project 'rt-8u202-ga'.

    Unable to determine the version of Java in JDK_HOME at /usr/lib/jvm/java-8-openjdk

Ghosthree3 commented on 2023-01-26 01:26 (UTC)

/usr/lib/jvm/java-8-openjdk/jre/lib/ext/jfxrt.jar is owned by java8-openjfx 8.u202-4

Funny. Removing this package, THEN building and installing it results in no errors.

W47MPUSv commented on 2023-01-26 00:37 (UTC)

@K4LCIFER. As stated in the error message, please check which package owns the file /usr/lib/jvm/java-8-openjdk/jre/lib/ext/jfxrt.jar. I did not see it in the jre8-openjdk-headless file list. If nobody owns it, may try to remove it and build again.

K4LCIFER commented on 2023-01-26 00:31 (UTC)

Won't build due to errors:

> Task :checkJfxrtJar FAILED

FAILURE: Build failed with an exception.

* Where:
Build file '/home/<username>/.cache/yay/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 221

* What went wrong:
Execution failed for task ':checkJfxrtJar'.
> FAIL: /usr/lib/jvm/java-8-openjdk/jre/lib/ext/jfxrt.jar must be removed before building sdk

Rogach commented on 2023-01-25 12:42 (UTC)

@hawath Thanks for the patches! I've updated the PKGBUILD.