<div dir="ltr"><div style="font-family:monospace" class="gmail_default">Hello,</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">I don't know where this belongs, so please redirect this as needed.</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">I am working on building an executable for my Microsoft Paint clone, and I used jpackage to do it. My module-info.java only had java.base and java.desktop, but the generated binary (after running the installer) was ~71MB. Thanks to a helpful answer on Stackoverflow (<a href="https://stackoverflow.com/questions/78308134">https://stackoverflow.com/questions/78308134</a>), I was able to bring that down to ~49MB using --jlink-options --compress=zip-9. I was grateful for that.</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">But a double digit sized executable generated from <3000 lines of Swing code with no resources was a bit difficult to swallow. </div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">Obviously, those 3000 lines house a lot behind the curtain.</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">* There's the 2 modules -- java.base and java.desktop. Unfortunately, they also happen to be the 2 biggest modules in the entirety of the JDK. Sometimes, I wonder "Why are they that large? Could they have been broken down further? Might that happen in the future?"</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">* There's also the Operating System specific files. I see 1MB dedicated to just awt.dll, for example. I am Windows 11.</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">* And then there's the jvm itself, which is a whole 12 MB on my machine. It seems to also be a dll.</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">All of this is what is created when I run the installer. So it all makes sense, and I don't think any of these components are being needlessly included.</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">But I still want to know -- what are Leyden's plans to minimize application footprint, specifically disk footprint?</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">Thank you for your time!</div><div style="font-family:monospace" class="gmail_default">David Alayachew<br></div></div>