|
|
|
|
|
by mike_hearn
1251 days ago
|
|
100-200mb is a bit too large for a minimal JFX app, though it may depend on how you define minimal: conveyor generate javafx com.example.jfx-test && cd jfx-test
./gradlew jar
conveyor make windows-app
du -h output
71mb on disk. 31mb package size. That's a bit bigger than strictly necessary. It includes FXML and see the discussion of optional plugin modules elsewhere.However you can easily get to 150-200mb on disk by using javafx.web because that includes a custom build of WebKit which is ~75mb all by itself. |
|
> It includes FXML and see the discussion of optional plugin modules elsewhere.
Where is this?
And do you know if it's still not possible to generate an .exe? I remember that while I was turned off by the final files sizes, what really made me drop jlink was that the final built target would always be some baroque installer (which makes sense for large GUIs that need to maintain state between runs). But you couldn't just generate a double-clickeable .exe or .appimage file that'd be equivalent to running your uberjar. So I stuck to the uberjar.. (now user have problem installing weird Java 11 Runtimes from not-Oracle)
(Further confusing things was that there is some intermediary build target in jlink also called `appimage` that's not actually an appimage, but it's quite similar..)