Package Details: java8-openjfx-src 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: 13
Popularity: 1.08
First Submitted: 2022-03-09 18:41 (UTC)
Last Updated: 2024-05-25 07:41 (UTC)

Latest Comments

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

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

Bomlex commented on 2022-03-22 10:11 (UTC)

can't build

I also tried what others write here but without success

-- Configuring incomplete, errors occurred! See also "/home/bomlex/.cache/yay/java8-openjfx/src/rt-8u202-ga/modules/web/build/linux/Release/CMakeFiles/CMakeOutput.log".

FAILURE: Build failed with an exception.

  • Where: Build file '/home/bomlex/.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

  • 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

frostby commented on 2022-03-18 19:27 (UTC) (edited on 2022-03-18 19:30 (UTC) by frostby)

For anyone had a problem with:

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

My fix is install jre8-openjdk-headless and change your java version:

$ archlinux-java set java-8-openjdk

Oops commented on 2022-03-18 06:37 (UTC)

missing make dependency: python2

Tak2Hu commented on 2022-03-14 04:47 (UTC) (edited on 2022-03-14 04:49 (UTC) by Tak2Hu)

@Rogach I also have the same problem as them

Mine is

$ java --version
 openjdk 17.0.3 2022-04-19
 OpenJDK Runtime Environment (build 17.0.3+3)
 OpenJDK 64-Bit Server VM (build 17.0.3+3, mixed mode)

grcancelliere commented on 2022-03-13 13:47 (UTC) (edited on 2022-03-13 14:06 (UTC) by grcancelliere)

In case anyone else needs it, I tried installing this package and it fails with this error:

...
FAILURE: Build failed with an exception.

* Where:
...build/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
...

The block of code before line 758 specifically checks the second line of the output of java -version, so if you like me define _JAVA_OPTIONS in the environment i suggest you silence the _JAVA_OPTIONS message like the wiki says.

jsn commented on 2022-03-12 22:20 (UTC) (edited on 2022-03-12 22:21 (UTC) by jsn)

$ java -version
openjdk version "1.8.0_332"
OpenJDK Runtime Environment (build 1.8.0_332-b04)
OpenJDK 64-Bit Server VM (build 25.332-b04, mixed mode)

Build fails with this: https://gist.github.com/jsn/ef281f5b8e66f6b3c351f5cfefcc45a9

Rogach commented on 2022-03-12 17:34 (UTC)

@SimPilotAdamT @moonaru I managed to build this package successfully. What java version are you using?

SimPilotAdamT commented on 2022-03-12 02:08 (UTC)

Errors building.

==> 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: failed to build 'java8-openjfx-8.u202-4':