3 ms·
I recently finished a project in JavaFX and am looking to build another application. I've been unsure of whether to continue using Java or use native widgets.
by baglunch 6y ago
I recently finished a project in JavaFX and am looking to build another application. I've been unsure of whether to continue using Java or use native widgets.
I'm very comfortable with Java, but one of the issues I've had is the size of the resulting binary with the JRE included (it's possible to not include a JRE of course, but it's much easier to have it bundled from a user perspective). You can use jlink to reduce the size of the bundled JRE so that it only includes relevant modules, but does it actually reduce the binary size by a significant amount?
Also, JavaFX doesn't seem to have backing from larger organizations like Electron does. Are there any well-known apps created with JavaFX. I know IntelliJ was created with Java but using Swing if I recall correctly.
- brabel 6y agoI ship a JavaFX app build with jlink. It includes many JDK modules beyond JavaFX, like `javafx.swing` and `jdk.unsupported` in order to access some features that unfortunately are not available in the standard modules, but even then the download size (zipped) is around 35MB, more like 65MB unzipped. I would say that's pretty acceptable for a real app.
- deleted 6y ago[deleted]