JBang
jbangA Java launcher for running source files and scripts.
A Java launcher for running source files and scripts.
Run a Java, Kotlin, Groovy or JShell script, jar or app with JBang. Other subcommands (init, build, export, app, catalog, jdk, ...), debugging and profiling options are not covered.
scriptargsdepsruntime_optionscriptdepsinteractivestring · positional 0string · positional 1 · repeatablestring · repeatable--depsstring · repeatable--runtime-optionstring · repeatable--compile-optionstring--main-mboolean--interactiveboolean--offline-oboolean--cdsdocsmanualmain 2026-10-27Before it fills your prompt, Otty checks the installed jbang against its version. A form that does not match your version is not offered.