7 ms·
With Java 9 jigsaw and jlink you can now build fairly light JavaFX apps. The entire jre no longer has to be bundled. Only the pieces you're using.
by barrongineer 9y ago
With Java 9 jigsaw and jlink you can now build fairly light JavaFX apps. The entire jre no longer has to be bundled. Only the pieces you're using.
- hugi 9y agoI recently started experimenting with JavaFX. I was pleasantly surprised how nice it is, and how easy it is to package application bundles.
- TJSomething 9y agoLooks like that's about 45 MB [1]. For comparison, Electron is about 80 MB. Qt starts at 50 MB depending on what you need, but a few years ago I got it down to 16 MB with UPX and a customized ICU. Gtk starts at ~20 MB and compresses to about half that with UPX. You could probably get those a bit smaller if your license permits static linking, but then you have to write C++. [1] https://steveperkins.com/using-java-9-modularization-to-ship-zero-dependency-native-apps/ https://steveperkins.com/using-java-9-modularization-to-ship...
- floatboth 9y agoUnfortunately JavaFX still does not support Wayland, just like most Java GUI things (except for SWT which seems to have some support https://bugs.eclipse.org/bugs/show_bug.cgi?id=516841 https://bugs.eclipse.org/bugs/show_bug.cgi?id=516841)
- pjmlp 9y agoGiven the progress of Wayland's adoption, I don't see it as a major issue.