Open howtimeflies-io opened 5 years ago
A large part of the world (especially large corporations and medium businesses) will still linger on Java 8 for another good while. What benefit do you see supporting Java 11 jlink
? Is this the only way to include an external JAR in your project?
What benefit do you see supporting Java 11
jlink
?
The distribution file size would be reduced significantly with a smaller Java runtime.
Distributing a java desktop application standalone with JRE 8 embedded JRE 8 takes ~80 MB when zipped in the .dmg format, and ~200 MB when unzipped in the .app format
Distributing a java desktop application standalone with Java 11's jmods The Java runtime takes only ~40 MB unzipped when testing in my application.
Is this the only way to include an external JAR in your project?
No, we could still live as it was before Java 9. 😄 But we might have to adapt to Java 11+ eventually, sooner or later.
With Java 11, the latest LTS version,
jlink
andjdeps
are used to build java applications to standalone executables.To take advantages of
jlink
, the dependencies provided in the--module-path
argument must be built with Java Platform Module System.Could you please migrate this project to JPMS? https://dzone.com/articles/java-platform-module-systemjpms-migration-guide-fo
Thank you.