Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin version 0.0.13 fails to build HelloFX on Windows on Arm64 #130

Open
chirontt opened this issue Aug 14, 2022 · 0 comments
Open

Plugin version 0.0.13 fails to build HelloFX on Windows on Arm64 #130

chirontt opened this issue Aug 14, 2022 · 0 comments

Comments

@chirontt
Copy link

I've got an Arm64 machine running Windows 11 natively (Windows on Arm64). I've installed the OpenJDK for Windows on Arm64 from Microsoft, so Java is available natively on the machine (i.e. no emulation of x86_64 code.) Running the gradle --version command shows its environment info as followed:

------------------------------------------------------------
Gradle 7.5.1
------------------------------------------------------------

Build time:   2022-08-05 21:17:56 UTC
Revision:     d1daa0cbf1a0103000b71484e1dbfe096e095918

Kotlin:       1.6.21
Groovy:       3.0.10
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          17.0.4 (Microsoft 17.0.4+8-LTS)
OS:           Windows 11 10.0 aarch64

Using the openjfx/samples' HelloFX Gradle project, I have no problem in compiling and producing a hellofx.jar file, with the gradle jar command. Note that the HelloFX project's build.gradle file currently specifies version 0.0.9 of this plugin, like here, and it works.

When I change this plugin version to the latest version (0.0.13) in the build.gradle file, the gradle jar command fails:

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\dev\javafx\samples\HelloFX\Gradle\hellofx\build.gradle' line: 3

* What went wrong:
An exception occurred applying plugin request [id: 'org.openjfx.javafxplugin', version: '0.0.13']
> Failed to apply plugin 'org.openjfx.javafxplugin'.
   > Could not create an instance of type org.openjfx.gradle.JavaFXOptions.
      > Unsupported JavaFX platform found: 'windows-aarch_64'! This plugin is designed to work on supported platforms only.Current supported platforms are 'linux-x86_64', 'linux-aarch_64', 'windows-x86_64', 'osx-x86_64', 'osx-aarch_64'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant