You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./wallettemplate/build/install/bitcoinj-wallettemplate/bin/bitcoinj-wallettemplate
Error: JavaFX runtime components are missing, and are required to run this application
If I use the Zulu 21.0.1.fx-zulu version of Java then it works correctly, but the build should probably be fixed so this works correctly on a typical JDK. (I discovered this while trying to use the :installDist target to build and install wallettemplate with Nix)
The text was updated successfully, but these errors were encountered:
I've been able to work around this issue when using Nix, by using the following:
jdk = pkgs.jdk17.override {
# enabling JavaFX in the JDK allows `nix run .#wallettemplate` to work correctly.
# This is because the `bitcoinj-wallettemplate:installDist` Gradle task does
# not set up the Module Path correctly for JavaFX to be loaded from a Maven JAR.
enableJavaFX = true;
};
See #3334 for the WIP PR that includes this workaround.
But it still would be nice if installDist built something that would work with a standard JDK (i.e. one that doesn't include JavaFX)
This is the full error
If I use the Zulu
21.0.1.fx-zulu
version of Java then it works correctly, but the build should probably be fixed so this works correctly on a typical JDK. (I discovered this while trying to use the:installDist
target to build and install wallettemplate with Nix)The text was updated successfully, but these errors were encountered: