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

nativeBuild w. gradle 7.3 works on linux, fails on Windows #149

Open
derCodemeister opened this issue Feb 11, 2022 · 2 comments
Open

nativeBuild w. gradle 7.3 works on linux, fails on Windows #149

derCodemeister opened this issue Feb 11, 2022 · 2 comments

Comments

@derCodemeister
Copy link

derCodemeister commented Feb 11, 2022

I have a small Hello-World-Kind JavaFX Application for Testing Gluonhq-GraalVM to check if my setup is in working order.

I am using:
Gradle 7.3
Java 17
GluonHQ-Graalvm version 22.0.0.3
org.openjfx.javafxplugin: version 0.0.11
com.gluon.gluonfx-gradle-version-plugin: version 1.0.12

Everything works under Linux, but when trying the same project under windows 10: nativeCompile fails with fatal error:
the download of openjfx-18ea+10-windows-x86_64-static.zip fails, since the file cannot be found on
https://download2.gluonhq.com/substrate/javafxstaticsdk

So it seems there are files missing or wrongly named on the gluonhq server.

@derCodemeister
Copy link
Author

Update:
setting the javafxStaticSdkVersion to 17 in the gradle gluonfx section made the above error disappear.
Now nativeBuild claims to work, but nativeRun (and running the exe directlly from the command llne) does nothing. No JavaFX window appears, but the programm (nearly 60 MB) claims to have run succesfully. The standard JVM run works fine.

@jperedadnr
Copy link
Collaborator

18-ea+10 is back, there was a small glitch... As for the error with 17 (no window) you will have it probably with 18-ea+10 too.
I suggest you run your executable with:

myapplication.exe 2> log.txt

and you should get a log with some indication.

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