{"slug": "jbang", "name": "jbang", "category": "other", "category_name": "Other software", "description": "", "recommenders": 4, "commenters": 6, "warners": 1, "score": 2.775, "rising": -1.31, "first": "2025-12-30", "latest": "2026-03-18", "why": "You can also use jbang to run java scripts with dependencies", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 4, "neutral": 1, "compare": 0, "warn": 1}, "spark": [0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0], "listed": true, "loved": [], "caveat": "", "short_quote": "You can also use jbang to run java scripts with dependencies", "kind": "", "icon": true, "domain": "jbang.dev", "github_repo": null, "official_url": "https://www.jbang.dev", "pricing": "", "aliases": ["jbang", "JBang"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 758691203, "item_id": 47418200, "url": "https://news.ycombinator.com/item?id=47418200", "by": "mands", "date": "2026-03-17", "stance": "recommend", "quote": "jbang for scripting (think uvx, bunx)", "excerpt": "It's getting better, it doesn't all have to be Spring Boot and JBoss. There is quarkus, helidon and micronaut for slimmer more modern backend frameworks. jbang for scripting (think uvx, bunx), Tambo UI (https://tamboui.dev/) for terminal UIs, and more. Along with all the new Java features that help you write much simpler code - eg. virtual threads, structured concurrency, stream gatherers, and performance / resource ", "context": "", "use_case": "", "switched_from": "", "story": "Java 26 is here, and with it a solid foundation for the future"}, {"id": 743288176, "item_id": 46455511, "url": "https://news.ycombinator.com/item?id=46455511", "by": "maxandersen", "date": "2026-01-01", "stance": "recommend", "quote": "yes, so now you know it exist - give it a try :)", "excerpt": "yes, so now you know it exist - give it a try :) and yes, works on npm, uvx, etc. too. `npx @jbangdev/jbang`", "context": "", "use_case": "Running Java scripts", "switched_from": "", "story": "2026: The Year of Java in the Terminal"}, {"id": 743147941, "item_id": 46446746, "url": "https://news.ycombinator.com/item?id=46446746", "by": "martylamb", "date": "2025-12-31", "stance": "recommend", "quote": "JBang takes it to another level", "excerpt": "I spent a long time caring about JVM startup time and CLI suitability (and wrote nailgun [0] over 20 years ago and jsap [1] shortly after specifically because of it), so it's pretty wild to see how far things have come. Modern JVM startup speed and GraalVM native-image have eliminated most of the old excuses. jlink+jpackage help a lot with distribution, and JBang takes it to another level. I've used JBang before but ", "context": "", "use_case": "Run Java as scripts", "switched_from": "", "story": "2026: The Year of Java in the Terminal"}, {"id": 743143488, "item_id": 46446468, "url": "https://news.ycombinator.com/item?id=46446468", "by": "rus20376", "date": "2025-12-31", "stance": "recommend", "quote": "specifically calls out the use of JBang[1]for this purpose.", "excerpt": "The article, which you may not have read, specifically calls out the use of JBang[1]for this purpose. [1] https://www.jbang.dev/", "context": "", "use_case": "Single-file Java distribution", "switched_from": "", "story": "2026: The Year of Java in the Terminal"}, {"id": 742960464, "item_id": 46435029, "url": "https://news.ycombinator.com/item?id=46435029", "by": "sharno", "date": "2025-12-30", "stance": "recommend", "quote": "You can also use jbang to run java scripts with dependencies", "excerpt": "You can also use jbang to run java scripts with dependencies https://www.jbang.dev/", "context": "", "use_case": "Running Java scripts", "switched_from": "", "story": "Go Away Python"}]}], "caveats": [{"label": "", "summary": "", "quotes": [{"id": 743358848, "item_id": 46459928, "url": "https://news.ycombinator.com/item?id=46459928", "by": "pregnenolone", "date": "2026-01-01", "stance": "warn", "quote": "no one with little to no Java experience is going to discover and install jbang", "excerpt": "You've largely ignored everything I\u2019ve said. Instead, you proposed workarounds \u2013 which is precisely what most people want to avoid. Who distributes applications as fat jars? What is this? 2004? You\u2019re supposed to distribute your application as executables. I\u2019ve brought up numerous complaint regarding jpackage and jlink, and none of them have been addressed by jbang. Furthermore, you accuse me of not having used Java ", "context": "", "use_case": "", "switched_from": "", "story": "2026: The Year of Java in the Terminal"}]}], "who": [], "tags": [], "use_cases": ["running java scripts", "java app distribution", "run java as scripts", "single-file java distribution"], "compared": [{"slug": "graalvm", "name": "GraalVM", "co": 4, "switched_from": 0, "switched_to": 0}, {"slug": "quarkus", "name": "Quarkus", "co": 2, "switched_from": 0, "switched_to": 0}, {"slug": "spring-boot", "name": "Spring Boot", "co": 2, "switched_from": 0, "switched_to": 0}, {"slug": "micronaut", "name": "Micronaut", "co": 2, "switched_from": 0, "switched_to": 0}], "makers": [{"id": 743278561, "item_id": 46454910, "url": "https://news.ycombinator.com/item?id=46454910", "by": "maxandersen", "date": "2026-01-01", "stance": "neutral", "quote": "jbang provides the similar binary - for now bash+jvm based but all simple installable.", "excerpt": "Yes - this is what we need more off - just not only in clojure space. I done https://github.com/jbangdev/jbang-jash for shell processes and smallrye process io also done a lot for nice shell apis. Files access could be another. jbang provides the similar binary - for now bash+jvm based but all simple installable. I have native jbang binaries which are even less than 70 mb :) Definitely going to check out babashka mor", "context": "", "use_case": "Java scripting", "switched_from": "", "story": "2026: The Year of Java in the Terminal"}, {"id": 743271504, "item_id": 46454469, "url": "https://news.ycombinator.com/item?id=46454469", "by": "maxandersen", "date": "2026-01-01", "stance": "recommend", "quote": "I used graalvm and made jbang and its now trivial to run app + shared jvm for me", "excerpt": "jar + vm into single binary feels like a solvable problem. I haven't really had the burning need for app+jvm since I used graalvm and made jbang and its now trivial to run app + shared jvm for me - but I can see the utility for it. Noted down the various pointers and existing attempt to explore in 2026 ! About build and publishing - this I feel is also solvable. Especially if we stop trying to solve it for all possib", "context": "", "use_case": "Running and packaging Java apps", "switched_from": "", "story": "2026: The Year of Java in the Terminal"}], "threads": [{"url": "https://news.ycombinator.com/item?id=46445229", "title": "2026: The Year of Java in the Terminal", "mentions": 7}, {"url": "https://news.ycombinator.com/item?id=47416548", "title": "Java 26 is here, and with it a solid foundation for the future", "mentions": 2}, {"url": "https://news.ycombinator.com/item?id=46431028", "title": "Go Away Python", "mentions": 1}], "sentiment_by_month": {"2025-11": {}, "2025-12": {"recommend": 3}, "2026-01": {"warn": 1}, "2026-02": {}, "2026-03": {"recommend": 1, "neutral": 1}, "2026-04": {}, "2026-05": {}, "2026-06": {}, "2026-07": {}, "2026-08": {}, "2026-09": {}, "2026-10": {}}, "quotes": [{"id": 758770821, "item_id": 47423176, "url": "https://news.ycombinator.com/item?id=47423176", "by": "nekitamo", "date": "2026-03-18", "stance": "neutral", "quote": "", "excerpt": "I'd like to mention the web framework I'm using these days, Jooby: https://jooby.io/ I've found it quite satisfying compared to the other \"new\" ones. As for the original topic, I just want to echo what others have said, and say that I am happiest in Java when writing it as if it were Golang code. That an the first-class runtime and performance and deep ecosystem make it a great choice in 2026.", "context": "", "use_case": "", "switched_from": "", "story": "Java 26 is here, and with it a solid foundation for the future"}, {"id": 758691203, "item_id": 47418200, "url": "https://news.ycombinator.com/item?id=47418200", "by": "mands", "date": "2026-03-17", "stance": "recommend", "quote": "jbang for scripting (think uvx, bunx)", "excerpt": "It's getting better, it doesn't all have to be Spring Boot and JBoss. There is quarkus, helidon and micronaut for slimmer more modern backend frameworks. jbang for scripting (think uvx, bunx), Tambo UI (https://tamboui.dev/) for terminal UIs, and more. Along with all the new Java features that help you write much simpler code - eg. virtual threads, structured concurrency, stream gatherers, and performance / resource ", "context": "", "use_case": "", "switched_from": "", "story": "Java 26 is here, and with it a solid foundation for the future"}, {"id": 743363664, "item_id": 46460229, "url": "https://news.ycombinator.com/item?id=46460229", "by": "maxandersen", "date": "2026-01-01", "stance": "compare", "quote": "jbang exist to bridge that gap.", "excerpt": "You've largely ignored everything I\u2019ve said. Instead, you proposed workarounds \u2013 which is precisely what most people want to avoid. Who distributes applications as fat jars? What is this? 2004? You\u2019re supposed to distribute your application as executables. and still npm, python, and other ecosystems don't do that. they effectively ships what corresponds to jars with dependency metadata. I also did not say fat jars (e", "context": "two decades on JVM", "use_case": "Java app distribution", "switched_from": "", "story": "2026: The Year of Java in the Terminal"}, {"id": 743358848, "item_id": 46459928, "url": "https://news.ycombinator.com/item?id=46459928", "by": "pregnenolone", "date": "2026-01-01", "stance": "warn", "quote": "no one with little to no Java experience is going to discover and install jbang", "excerpt": "You've largely ignored everything I\u2019ve said. Instead, you proposed workarounds \u2013 which is precisely what most people want to avoid. Who distributes applications as fat jars? What is this? 2004? You\u2019re supposed to distribute your application as executables. I\u2019ve brought up numerous complaint regarding jpackage and jlink, and none of them have been addressed by jbang. Furthermore, you accuse me of not having used Java ", "context": "", "use_case": "", "switched_from": "", "story": "2026: The Year of Java in the Terminal"}, {"id": 743288176, "item_id": 46455511, "url": "https://news.ycombinator.com/item?id=46455511", "by": "maxandersen", "date": "2026-01-01", "stance": "recommend", "quote": "yes, so now you know it exist - give it a try :)", "excerpt": "yes, so now you know it exist - give it a try :) and yes, works on npm, uvx, etc. too. `npx @jbangdev/jbang`", "context": "", "use_case": "Running Java scripts", "switched_from": "", "story": "2026: The Year of Java in the Terminal"}, {"id": 743147941, "item_id": 46446746, "url": "https://news.ycombinator.com/item?id=46446746", "by": "martylamb", "date": "2025-12-31", "stance": "recommend", "quote": "JBang takes it to another level", "excerpt": "I spent a long time caring about JVM startup time and CLI suitability (and wrote nailgun [0] over 20 years ago and jsap [1] shortly after specifically because of it), so it's pretty wild to see how far things have come. Modern JVM startup speed and GraalVM native-image have eliminated most of the old excuses. jlink+jpackage help a lot with distribution, and JBang takes it to another level. I've used JBang before but ", "context": "", "use_case": "Run Java as scripts", "switched_from": "", "story": "2026: The Year of Java in the Terminal"}, {"id": 743143488, "item_id": 46446468, "url": "https://news.ycombinator.com/item?id=46446468", "by": "rus20376", "date": "2025-12-31", "stance": "recommend", "quote": "specifically calls out the use of JBang[1]for this purpose.", "excerpt": "The article, which you may not have read, specifically calls out the use of JBang[1]for this purpose. [1] https://www.jbang.dev/", "context": "", "use_case": "Single-file Java distribution", "switched_from": "", "story": "2026: The Year of Java in the Terminal"}, {"id": 742960464, "item_id": 46435029, "url": "https://news.ycombinator.com/item?id=46435029", "by": "sharno", "date": "2025-12-30", "stance": "recommend", "quote": "You can also use jbang to run java scripts with dependencies", "excerpt": "You can also use jbang to run java scripts with dependencies https://www.jbang.dev/", "context": "", "use_case": "Running Java scripts", "switched_from": "", "story": "Go Away Python"}]}