~/talk

JBang, a Java file to rule them all? 💍

Talkat Voxxed Days Zurich 2026 · on Tuesday, 2026-03-24· [java, developer-experience]
slides:none on file

Demo shows JBang (installed via SDKMAN/brew/curl, version JBang 0.137) turning a ten‑line HelloWorld into a runnable script by building an executable jar on demand and supporting shebang install so the file runs like a normal command. Adds Maven-style deps (demo uses LangChain4j and Logback), file packing for logback.xml, installs aliases, and pulls scripts/catalogs from GitHub. Notes JDK 11 single‑file limits (improved by JDK 25), installs scripts globally and the demos all run; GraalVM native build is possible but not favored for readable scripts.

AI-written summary · about

  1. 0:00JBang introduction
  2. 2:41Why JBang for scripting
  3. 3:25Installing JBang scripts
  4. 4:52Shebang execution
  5. 6:35Single-file vs JBang
  6. 6:58Adding dependencies
  7. 8:24IDE integration
  8. 9:07Global script install
  9. 9:50GitHub script sharing
  10. 10:33Aliases and catalogs
  11. 12:23Custom catalogs
  12. 14:06Simplifying Java
  13. 15:51Advanced features
  14. 16:56Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.