SoKnight
SoKnight

Reputation: 33

GraalVM native JavaFX application visual bugs

I have created a new GraalVM + JavaFX project with simple interface, but instead of this:

I can see only this:

I have compiled my project with/on:

You can easily reproduce it:

  1. Clone my GitHub repo with all project related code
  2. Download GraalVM release for your host system
  3. Install (unpack) it anywhere and change path to SDK in pom.xml (graalvm.home property)
  4. Just run mvn clean install to run metadata collecting agent, build native image and run it

Upvotes: 0

Views: 223

Answers (1)

SoKnight
SoKnight

Reputation: 33

During all that day I have tested native AOT compilation of this test project.
Binaries is working fine on Windows and Mac OS hosts, but not at all Linux hosts, and it's so sad :(

I will use the next 'partially native' app distribution solution:

  • Linux: app-image (jlink) + launch4j.
  • Mac OS: native-image using Liberica NIK.
  • Windows: native-image using Liberica NIK.

Thanks a lot to José Pereda for any help and instant answers.

Upvotes: 1

Related Questions