Package Details: java8-openjfx-doc 8.u202-10

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
Submitter: freswa
Maintainer: Rogach
Last Packager: Rogach
Votes: 12
Popularity: 0.171898
First Submitted: 2022-03-09 18:41 (UTC)
Last Updated: 2024-05-25 07:41 (UTC)

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 Next › Last »

Harms commented on 2022-11-07 09:30 (UTC)

Make sure that the default java version is set to 8 with archlinux-java.

ihitmani commented on 2022-09-12 18:26 (UTC)

Build file '/home/v/.cache/yay/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 221

  • What went wrong: Execution failed for task ':checkJfxrtJar'.

    FAIL: /usr/lib/jvm/default/jre/lib/ext/jfxrt.jar must be removed before building sdk

drankinatty commented on 2022-08-02 11:36 (UTC)

I can confirm the same build failure with the resulting message:

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().

baygon commented on 2022-06-01 15:19 (UTC)

For those who need urgent solution

https://archive.org/download/archlinux_pkg_java8-openjfx

sudo pacman -U java8-openjfx-8.u202-4-x86_64.pkg.tar.zst

localhost commented on 2022-05-21 17:18 (UTC) (edited on 2022-05-21 17:31 (UTC) by localhost)

Task :verifyJava FAILED

FAILURE: Build failed with an exception.

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

  • What went wrong: Execution failed for task ':verifyJava'.

    For input string: "4+11"

  • 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 17s 2 actionable tasks: 2 executed ==> ERROR: A failure occurred in build(). Aborting... -> error making: java8-openjfx

I fixed error using archlinux-java but I have different problem

make[1]: [CMakeFiles/Makefile2:352: Source/WTF/wtf/CMakeFiles/WTF.dir/all] Error 2 make: [Makefile:111: all] Error 2

Task :web:compileNativeLinux FAILED

FAILURE: Build failed with an exception.

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

  • What went wrong: Execution failed for task ':web:compileNativeLinux'.

    Process 'command 'perl'' finished with non-zero exit value 2

  • 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

laeberkaes commented on 2022-05-19 10:34 (UTC)

Same here. Errors on build process:

FAILURE: Build failed with an exception.

* Where:
Build file '$USER/.cache/yay/java8-openjfx/src/rt-8u202-ga/build.gradle' line: 2584

* What went wrong:
Execution failed for task ':web:compileNativeLinux'.
> Process 'command 'perl'' finished with non-zero exit value 1

G4Zz0L1 commented on 2022-05-11 22:38 (UTC)

Can you fix this PKGBUILD?

Or can you point me to some direction to install it correctly?

Thanks in advance!

K4LCIFER commented on 2022-05-10 00:30 (UTC)

Cannot build due to errors:

==> Starting build()...
Starting a Gradle Daemon (subsequent builds will be faster)

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

G4Zz0L1 commented on 2022-05-04 08:25 (UTC)

Build phase fails on a clean chroot with aurto (aurutils chroot)

==> Starting build()...

Welcome to Gradle 4.8!

Here are the highlights of this release:
 - Dependency locking
 - Maven Publish and Ivy Publish plugins improved and marked stable
 - Incremental annotation processing enhancements
 - APIs to configure tasks at creation time

For more details see https://docs.gradle.org/4.8/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)
Download https://repo.maven.apache.org/maven2/org/antlr/antlr/3.1.3/antlr-3.1.3.pom
Download https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.1.3/antlr-master-3.1.3.pom
Download https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.1.3/antlr-runtime-3.1.3.pom
Download https://repo.maven.apache.org/maven2/org/antlr/stringtemplate/3.2/stringtemplate-3.2.pom
Download https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.pom
Generating JAR file 'gradle-api-4.8.jar'
Download https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.jar
Download https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.1.3/antlr-runtime-3.1.3.jar
Download https://repo.maven.apache.org/maven2/org/antlr/stringtemplate/3.2/stringtemplate-3.2.jar
Download https://repo.maven.apache.org/maven2/org/antlr/antlr/3.1.3/antlr-3.1.3.jar

> Task :buildSrc:generateGrammarSource
error(10):  internal error: Can't get property indirectDelegates using method get/isIndirectDelegates from org.antlr.tool.Grammar instance : java.lang.NullPointerException
java.util.Objects.requireNonNull(Objects.java:203)
java.util.ArrayList.removeAll(ArrayList.java:695)
org.antlr.tool.CompositeGrammar.getIndirectDelegates(CompositeGrammar.java:222)
org.antlr.tool.Grammar.getIndirectDelegates(Grammar.java:2620)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.antlr.stringtemplate.language.ASTExpr.invokeMethod(ASTExpr.java:563)
org.antlr.stringtemplate.language.ASTExpr.rawGetObjectProperty(ASTExpr.java:514)
org.antlr.stringtemplate.language.ASTExpr.getObjectProperty(ASTExpr.java:416)
org.antlr.stringtemplate.language.ActionEvaluator.attribute(ActionEvaluator.java:351)
org.antlr.stringtemplate.language.ActionEvaluator.expr(ActionEvaluator.java:136)
org.antlr.stringtemplate.language.ActionEvaluator.templateApplication(ActionEvaluator.java:216)
org.antlr.stringtemplate.language.ActionEvaluator.expr(ActionEvaluator.java:126)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:84)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:148)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:700)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:722)
org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:659)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:148)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:700)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:722)
org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:659)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:148)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:700)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:722)
org.antlr.stringtemplate.language.ASTExpr.writeAttribute(ASTExpr.java:659)
org.antlr.stringtemplate.language.ActionEvaluator.action(ActionEvaluator.java:86)
org.antlr.stringtemplate.language.ASTExpr.write(ASTExpr.java:148)
org.antlr.stringtemplate.StringTemplate.write(StringTemplate.java:700)
org.antlr.codegen.CodeGenerator.write(CodeGenerator.java:1278)
org.antlr.codegen.Target.genRecognizerFile(Target.java:94)
org.antlr.codegen.CodeGenerator.genRecognizer(CodeGenerator.java:463)
org.antlr.Tool.generateRecognizer(Tool.java:607)
org.antlr.Tool.process(Tool.java:429)
org.antlr.Tool.main(Tool.java:91)

> Task :buildSrc:compileJava
> Task :buildSrc:compileGroovy
> Task :buildSrc:processResources
> Task :buildSrc:classes
> Task :buildSrc:jar
> Task :buildSrc:assemble
Download https://repo.maven.apache.org/maven2/junit/junit/4.8.2/junit-4.8.2.pom
Download https://repo.maven.apache.org/maven2/junit/junit/4.8.2/junit-4.8.2.jar
> Task :buildSrc:compileTestJava
> Task :buildSrc:compileTestGroovy NO-SOURCE
> Task :buildSrc:processTestResources NO-SOURCE
> Task :buildSrc:testClasses
> Task :buildSrc:test
> Task :buildSrc:check
> Task :buildSrc:build

FAILURE: Build failed with an exception.

* Where:
Script '/build/java8-openjfx/src/rt-8u202-ga/buildSrc/linux.gradle' line: 67

* What went wrong:
A problem occurred evaluating script.
> Cannot invoke method trim() on null object

* 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 15s
==> ERROR: A failure occurred in build().
    Aborting...

ABelliqueux commented on 2022-04-01 14:14 (UTC)

I was hit with the "Unable to determine the version of Java" issue too and for some reason, even muting the _JAVA_OPTIONS environment variable as suggested by @grcancelliere didn't work. The script insisted on trying to extract the java version from the third line of the result of java -version, which also contains the string " (build ".

I ended up hardcoding my java version in a patch file, apply it with a modified PKGBUILD, and it finally worked, but not before having to remove /usr/lib/jvm/java-8-openjdk/jre/lib/ext/jfxrt.jar manually.

What a mess.

For the brave souls, everything is described here :

https://gist.github.com/ABelliqueux/3e4af7450412dd102a9e9a6a421d9a6f