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

build javafx native fail,help! #174

Closed
showfake opened this issue Oct 22, 2023 · 1 comment
Closed

build javafx native fail,help! #174

showfake opened this issue Oct 22, 2023 · 1 comment

Comments

@showfake
Copy link

this is my Environment Settings
Snipaste_2023-10-22_18-18-10
Snipaste_2023-10-22_18-18-41
I'm sure there's nothing wrong with my environment setup;Because I can successfully build graalvm official helloworld demo,But my HelloFX to build the gluon-samples failed,The failure prompt is:
Could not detect GraalVM version, stopping now.
Check the log files under D:\project\gluon-samples\HelloFX\target\gluonfx\x86_64-windows\gvm\log
And please check https://docs.gluonhq.com/ for more information.
java.io.IOException: Couldn't determine GraalVM version
Snipaste_2023-10-22_18-25-07
Who can tell me how to operate this in order to successfully build the native mirror image?
This problem is too torture, many of my friends and I can't solve this problem, which makes me feel very frustrated to learn javafx and GraalVM
If possible, please explain in detail as much as possible, thanks

@jperedadnr
Copy link
Contributor

Gluon docs recommend using Gluon's GraalVM build from here https://github.com/gluonhq/graal/releases/latest.
GluonFX plugin doesn't support JDK 21 yet, so GraalVM 21 won't work, and you still need 22.1.0.1-Final.

However, work is being done in Substrate and once this PR is merged, 21 will be supported.

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

2 participants