bitcoinj
bitcoinj copied to clipboard
gradle.yml, graalvm.yml: add ubuntu-24.04-arm to matrix
Fails:
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/org/openjfx/javafx-graphics/21.0.4/javafx-graphics-21.0.4-linux-aarch64.jar]
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/org/openjfx/javafx-controls/21.0.4/javafx-controls-21.0.4-linux-aarch64.jar]
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/org/openjfx/javafx-base/21.0.4/javafx-base-21.0.4-linux-aarch64.jar]
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':bitcoinj-wallettemplate:compileJava'.
> Could not resolve all files for configuration ':bitcoinj-wallettemplate:compileClasspath'.
> Could not find javafx-fxml-21.0.4-linux-aarch64.jar (org.openjfx:javafx-fxml:21.0.4).
Searched in the following locations:
https://repo.maven.apache.org/maven2/org/openjfx/javafx-fxml/21.0.4/javafx-fxml-21.0.4-linux-aarch64.jar
> Could not find javafx-controls-21.0.4-linux-aarch64.jar (org.openjfx:javafx-controls:21.0.4).
Searched in the following locations:
https://repo.maven.apache.org/maven2/org/openjfx/javafx-controls/21.0.4/javafx-controls-21.0.4-linux-aarch64.jar
> Could not find javafx-graphics-21.0.4-linux-aarch64.jar (org.openjfx:javafx-graphics:21.0.4).
Searched in the following locations:
https://repo.maven.apache.org/maven2/org/openjfx/javafx-graphics/21.0.4/javafx-graphics-21.0.4-linux-aarch64.jar
> Could not find javafx-base-21.0.4-linux-aarch64.jar (org.openjfx:javafx-base:21.0.4).
Searched in the following locations:
https://repo.maven.apache.org/maven2/org/openjfx/javafx-base/21.0.4/javafx-base-21.0.4-linux-aarch64.jar
Downgrading JavaFX to 21.0.1 fixes the problem, as that's the last version to publish aarch64 binaries.
I think we should downgrade to 21.0.1 to fix the ARM build until there is a better solution available. It's only sample code and anything real built with it as a starting point will upgrade to the latest JavaFX I'm sure.
Rebased.