Download Latest Version jbang-0.135.1.tar (11.5 MB)
Email in envelope

Get an email when there's a new version of jbang

Home / v0.134.2
Name Modified Size InfoDownloads / Week
Parent folder
version.txt.sha256 2025-11-24 64 Bytes
version.txt 2025-11-24 7 Bytes
version.txt.asc 2025-11-24 821 Bytes
jbang.zip.asc 2025-11-24 821 Bytes
jbang.zip.sha256 2025-11-24 64 Bytes
jbang.tar.asc 2025-11-24 821 Bytes
jbang.tar.sha256 2025-11-24 64 Bytes
jbang.zip 2025-11-24 10.4 MB
jbang.tar 2025-11-24 11.5 MB
jbang-0.134.2.zip.asc 2025-11-24 821 Bytes
jbang-0.134.2.zip.sha256 2025-11-24 64 Bytes
jbang-0.134.2.tar.sha256 2025-11-24 64 Bytes
jbang-0.134.2.zip 2025-11-24 10.4 MB
jbang-0.134.2.tar.asc 2025-11-24 821 Bytes
checksums_sha256.txt 2025-11-24 566 Bytes
checksums_sha256.txt.asc 2025-11-24 821 Bytes
jbang-0.134.2.tar 2025-11-24 11.5 MB
README.md 2025-11-24 8.5 kB
v0.134.2 source code.tar.gz 2025-11-24 6.1 MB
v0.134.2 source code.zip 2025-11-24 6.4 MB
Totals: 20 Items   56.4 MB 0

Almost too much...

Bunch of small fixes and a few "big" features in this round, deps, jdk exec, JBang AI and beginnings of native image build of jbang.

You can now use jbang deps add group:artifact:version myapp.javato add dependencies to a file; but even more interesting isjbang deps search` which let you search your local maven repository + maven central for your dependency.

You can do jbang deps search log4j myapp.java and it will pre-search for log4j and once you select the artifact you want add it to myapp.java - or simply do jbang deps search myapp.java and you will get interactive UI directly.

At the momment it works with .java and build.jbang - but can also add other formats if there are interest.

Try it out and give feedback :)

jdk exec

@quintesse added support for running commands with your favourite java environemnt.

jbang jdk exec 11 <your command>

will run your command with Java 11 setup.

Better missing main error info

When running a jar from the internet; they might not configured or set a Main-class so you have to go scrambling to find the right class name to use. This release fixes that.

Before:

jbang org.jbox2d:jbox2d-testbed:2.2.1.1
[jbang] [ERROR] no main class deduced, specified nor found in a manifest
[jbang] Run with --verbose for more details. The --verbose must be placed before the jbang command. I.e. jbang --verbose run [...]

Now:

[jbang] [ERROR] No main class deduced, specified nor found in a manifest, but found these candidates:

 - org.jbox2d.testbed.perf.MathPerf
 - org.jbox2d.testbed.framework.TestbedMain
 - org.jbox2d.testbed.perf.PoolingPerf
 - org.jbox2d.testbed.perf.StackTest
 - org.jbox2d.tests.math.SinCosTest

Use -m <main class> to specify a main class.
[jbang] Run with --verbose for more details. The --verbose must be placed before the jbang command. I.e. jbang --verbose run [...]

Yes, it still fails - but you get the list of possible main methods to run.

Give jbang -m org.jbox2d.testbed.framework.TestbedMain org.jbox2d:jbox2d-testbed:2.2.1.1 a try :)

JBang AI

Everyone does AI, right ? :) JBang actually had it for two years now but required use of --preview flag. In this release we remove that need and instead of JBangGPT call it JBang AI:

jbang init tetris.java make me a game of tetris using javafx

If you have one of the supported LLM providers configured you can get something like:

https://bsky.app/profile/did:plc:patay43zm6erqb6ph6emtojb/post/3m67egd46cw2a

In this release we added support auto detecting OpenAI, Google, OpenCode, Ollama (local FTW) and more - see list at https://www.jbang.dev/documentation/jbang/latest/templates.html#auto-detection

But if auto detecting does not work there are command line options to allow override:

jbang init --ai-provider=google --ai-api-key=SECRET --ai-model=othermodel sandwich.java make me one

Native Image Build of JBang

JBang now has native-image builds using GraalVM native image on each PR, this release is test of it working. Planned that next release will include it as an option for the downloads/bootstrap.

What's Changed

New Contributors

Full Changelog: https://github.com/jbangdev/jbang/compare/v0.132.1...v0.134.2## Changelog

🐛 Fixes

  • 31cb778 fix: release use explicit java version

  • a9a554d [patch] release

Contributors

We'd like to thank the following people for their contributions: Max Rydahl Andersen

Source: README.md, updated 2025-11-24