Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Last time I used jlink it produced a bunch of folders and a shell file to launch. Is it possible to make it a single binary executable instead (preferrably without GraalVM)?

Also I tried to get rid of unused classes using Proguard, but there are zero tutorials for non-Android java apps.



You need jpackage for that, which will create a native executable (unfortunately only for the given platform)




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: