r/java • • Jan 29 '26

jbundle: Package JVM applications into self-contained binaries

https://github.com/avelino/jbundle
44 Upvotes

33 comments sorted by

View all comments

Show parent comment

1

u/mands Jan 29 '26 edited Jan 29 '26

Perhaps a tad harsh and maybe you don't have the need, but for my use-cases this is really useful and the reasons given in the docs are persuasive,

  • Rust and Go are more commonly used for CLI tools these days as they are easy to distribute and start fast
  • Java is more than suitable for such tools if startup speed and distribution can be solved (as a core language it's a much stronger proposition that Go imo)
  • For a Spring app you would use its docker plugin or a buildpack, but for a very simple microservice, this would make building a deployable docker image much easier
  • I think JPackage still makes sense for desktop apps, but that's a different use-case than here