5 ms·
Minimal Swing app is about 27mb compressed, 28mb with FlatLaf. That's for Windows. A bit smaller if you drop ECC and accessibility support. That 6mb is just fo
by mike_hearn 4y ago
Minimal Swing app is about 27mb compressed, 28mb with FlatLaf. That's for Windows. A bit smaller if you drop ECC and accessibility support.
That 6mb is just for Dart right? I thought a minimal Flutter app is about the same size as a minimal Swing app.
- synergy20 4y agothanks,yes it is dart only size,need measure flutter size vs swing as a single exe
- mike_hearn 4y agoA couple of years ago I did some experiments to see how small you could make HotSpot and still have something usable. I got it down to a 7mb download but that required some tricks: - .tar.zstd - A custom build of HotSpot that compiled out some optional features. - It was just java.base, no swing You can get smaller if you do DCE / tree shaking more aggressively, or use a custom JVM designed for size. The smallest I've seen was Avian which can produce GUI apps that are 1mb standalone binaries. It's abandoned unfortunately.