Package Base Details: java8-openjfx

Git Clone URL: https://aur.archlinux.org/java8-openjfx.git (read-only, click to copy)
Keywords: java8-openjfx openjfx
Submitter: freswa
Maintainer: Rogach
Last Packager: Rogach
Votes: 11
Popularity: 0.52
First Submitted: 2022-03-09 18:41 (UTC)
Last Updated: 2024-04-24 04:47 (UTC)

Latest Comments

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

Rogach commented on 2023-01-29 19:06 (UTC)

@SimPilotAdamT That seems to be related to gradle itself. Do you have JDK 8 set as your default JDK? (check with archlinux-java get)

Also can you try stopping gradle daemon before the build? (gradle --stop)

SimPilotAdamT commented on 2023-01-29 16:35 (UTC) (edited on 2023-01-29 16:35 (UTC) by SimPilotAdamT)

@Rogach oh I must be blind... That build fails, too, with this output.

Rogach commented on 2023-01-29 06:19 (UTC)

@Pilligar Can you pastebin the full makepkg output?

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.