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

Required by (80)

Sources (11)

Latest Comments

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

ilikenwf commented on 2023-02-02 10:07 (UTC) (edited on 2023-02-02 10:08 (UTC) by ilikenwf)

So I was getting the error about "/usr/lib/jvm/java-8-openjdk/jre/lib/ext/jfxrt.jar" needing to be removed. I think this is because it assumes we're building in place... it's using $JAVA_HOME for this, which we can't change for the build since it needs java to build java...

This patch fixes it for me.

--- build.gradle.orig   2023-02-02 04:04:58.378846527 -0600
+++ build.gradle    2023-02-02 04:05:19.844677551 -0600
@@ -1070,12 +1070,7 @@

 // Task to check whether jfxrt.jar is present in the JDK
 task checkJfxrtJar {
-    doLast {
-        def jfxrtFile = new File("$JDK_HOME/jre/lib/ext/jfxrt.jar");
-        if (jfxrtFile.exists()) {
-            fail("$jfxrtFile must be removed before building sdk")
-        }
-    }
+    // we don't build in place
 }

 task updateCacheIfNeeded() {

Pillgar commented on 2023-02-02 07:13 (UTC)

Here ya go: https://gist.github.com/Pillgar/ca3840525166f9c7c0de8bdf6641e9f8

dhameoin commented on 2023-02-01 12:23 (UTC)

I cleared the package cache and now everything is fine by me

Rogach commented on 2023-02-01 11:15 (UTC)

@Pillgar We'll have to go deeper then. I prepared a small script for you:

ext.javaBinary = "/usr/lib/jvm/java-8-openjdk/bin/java"
def inStream = new java.io.BufferedReader(new java.io.InputStreamReader(new java.lang.ProcessBuilder(ext.javaBinary, "-version").start().getErrorStream()));
try {
    if (inStream.readLine() != null) {
        String v = inStream.readLine();
        if (v != null) {
            int ib = v.indexOf(" (build ");
            if (ib != -1) {
                String ver = v.substring(ib + 8, v.size() - 1);

                project.ext.set("jdkRuntimeVersion", ver)
            }
        }
    }
} finally {
    inStream.close();
}
if (!project.hasProperty("jdkRuntimeVersion")) throw new Exception("Unable to determine the version of Java in JDK_HOME at $JDK_HOME");
System.out.println(ext.jdkRuntimeVersion)

It's the minimised portion of the code that is failing in the build. Hopefully it will produce the same error message, then we will be able to debug it further.

It should go into src/rt-8u202-ga/test.gradle. Run with cd src/rt-8u202-ga; ../gradle-4.8/bin/gradle -b test.gradle. Can you paste the output from this script?

Rogach commented on 2023-02-01 10:57 (UTC)

@dhameoin Re-checked the checksum on the fresh download, it's still the same for me. What's the checksum you are getting?

dhameoin commented on 2023-01-31 05:49 (UTC)

8u202-ga.tar.bz2 wrong checksum

Pillgar commented on 2023-01-30 08:01 (UTC)

Here's the makepkg output:

https://gist.github.com/Pillgar/b98f0409372a2dfce36c6d49fc94701a

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?