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

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: 11
Popularity: 0.87
First Submitted: 2022-03-09 18:41 (UTC)
Last Updated: 2024-04-03 08:22 (UTC)

Latest Comments

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

Rogach commented on 2023-02-02 15:18 (UTC)

Aha, so _JAVA_OPTIONS line is throwing it off. Here's the updated test script, please test it: https://gist.github.com/Rogach/6f9639e3025ba744fb77b895c841acf4

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

Done: https://gist.github.com/Pillgar/40441a8186d52e6853d4fa9c05fe76ed

Rogach commented on 2023-02-02 12:30 (UTC)

@ilikenwf Thanks for the suggestion, I've updated the PKGBUILD with the patch.

I think this would be a bad idea in general - previous openjfx classes will be present on the classpath when building the new ones. However this package is probably going to be stuck on 8u202 version for the forceeable future, so this should be fine.

Rogach commented on 2023-02-02 11:21 (UTC)

@Pillgar Here's the updated script, I added some debugging printfs to get closer to the issue: https://gist.github.com/Rogach/6f9639e3025ba744fb77b895c841acf4

Can you please run it and paste the output?

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