-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build (and publish) a jpackage
-d "native" (not really) executable
#391
Comments
I've dabbled with this a bit today, something like this actually works:
Note that this smaller JRE does NOT (seem to) improve JRE boot start-up speed; it actually seems to be slightly slower, for some reason, for me:
BTW As far as I understand, there isn't really any way to "build (and publish) a jpackage-d (not really) 'native' executable". What could be done with this is to re-distribute such a minimal JDK together with the (existing) single JAR. This could be in different (and possibly several) formats, including:
|
https://stackoverflow.com/q/61612710/421602 FYI https://appimage.github.io/apps/ An AppImage is fun because it can include an icon, and importantly a https://github.com/AppImage/AppImageKit/wiki/Bundling-Java-apps https://docs.appimage.org/packaging-guide/manual.html https://docs.appimage.org/introduction/software-overview.html#ref-appimagetool https://docs.appimage.org/packaging-guide/from-source/linuxdeploy-user-guide.html#ref-linuxdeploy https://github.com/probonopd/go-appimage ? https://docs.appimage.org/packaging-guide/testing.html#using-the-docker-based-appimage-testsuite |
https://github.com/bitshifted/launchcode is another tool in this space, see #1157.
#1159 makes a start! With that, I'm closing this. #1158 has a (low priority) possible future follow-up. PS: |
https://www.baeldung.com/java14-jpackage
https://www.baeldung.com/jar-windows-executables
https://www.baeldung.com/jlink
The text was updated successfully, but these errors were encountered: