You are not logged in.

#1 2022-03-22 03:18:37

shoelesshunter
Member
From: USA
Registered: 2014-05-18
Posts: 289

building java8-openjfx from AUR fials

I don't know about java at all. I am trying to install filebot47 from the AUR with yay.

java8-openjfx is a dependency. I read this is not required on systems using Oracle java. am I mistaken? I have set my java environment to java-17-jdk.

java8-openjfx is still pulled in. regardless, it fails to build. the error is

 ==> Making package: java8-openjfx 8.u202-4 (Mon 21 Mar 2022 10:12:01 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...

FAILURE: Build failed with an exception.

* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type PluginResolutionStrategyInternal using BuildScopeServices.createPluginResolutionStrategy().

* 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 0s
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: java8-openjfx

any suggestions on how to install filebot47?

Offline

#2 2022-03-22 04:08:09

loqs
Member
Registered: 2014-03-06
Posts: 17,420

Re: building java8-openjfx from AUR fials

shoelesshunter wrote:

I have set my java environment to java-17-jdk.

With respect to java8-openjfx have you seen https://aur.archlinux.org/packages/java … ent-857208

shoelesshunter wrote:

java8-openjfx is still pulled in.

  You would need to edit the PKGBUILD to remove java8-openjfx from depends as well as change jre8-openjdk.  You could then test if they are really required.

Offline

#3 2022-03-22 12:17:47

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: building java8-openjfx from AUR fials

Moving to AUR issues.

Offline

#4 2024-01-10 01:50:45

zackpete
Member
Registered: 2011-04-27
Posts: 9

Re: building java8-openjfx from AUR fials

This is the first search result when searching for that Gradle exception. I was getting the same error with java-21-openjdk, setting java to java-8-openjdk via `sudo archlinux-java set java-8-openjdk` before building the java8-openjfx package seemed to fix the Gradle problem

Offline

Board footer

Powered by FluxBB