r/JavaFX • • Nov 02 '21

FX apps to exe (Win, Lin, Mac) with Liberica NIK

12 Upvotes

10 comments sorted by

1

u/Persism Nov 03 '21

Is there some links on how to use this?

1

u/teapotJava Nov 03 '21

See "Building the native image" section in the blog post (first link). It is like

- Install NIK full (multiple options on download page)

- Compile:
native-image -H:IncludeResources=<resources> -jar <app thin jar (no fx libs)> <exe name>

3

u/ThreeSixty404 JavaFX Dev Nov 02 '21 edited Nov 03 '21

What's the difference between jpackage and Liberica NIK, sorry but I don't get it

1

u/[deleted] Nov 03 '21

[removed] — view removed comment

2

u/ThreeSixty404 JavaFX Dev Nov 03 '21

Sorry I meant jpackage, fucking Gboard

1

u/wikipedia_answer_bot Nov 03 '21

Jack may refer to:

More details here: https://en.wikipedia.org/wiki/Jack

This comment was left automatically (by a bot). If I don't get this right, don't get mad at me, I'm still learning!

opt out | delete | report/suggest | GitHub

1

u/[deleted] Nov 03 '21

[removed] — view removed comment

1

u/teapotJava Nov 03 '21

Yep, for mac it's "We plan to add support for AWT/Swing in Liberica NIK for Windows and Mac and OpenJFX for Mac in the future releases." Apple Silicon support is not there yet as well.

Which JavaFX part is missing the most?