JBang IDE Support
VS Code / VSCodium
The JBang extension works in both Visual Studio Code and
VSCodium (a free, open-source VS Code distribution).
Running jbang edit installs VSCodium by default with Java and JBang extensions pre-configured — ready to code immediately.
Install
Quickest: just run jbang edit hello.java — JBang installs VSCodium and the required extensions automatically.
Manual install in VS Code: install JBang from the VS Marketplace.
Manual install in VSCodium: install JBang from Open VSX.
Features
- Automatic classpath synchronization from JBang directives
- Completion for
//DEPS,//SOURCES,//FILES, and options - Run and Debug via CodeLens
- Create scripts from templates, export native binaries, install as apps
- Per-script projects with
java.import.jbang.projectPerScript - Automatic annotation processor configuration
build.jbangandjbang-catalog.jsonsupport
Documentation
IntelliJ IDEA
The JBang plugin makes Java, Kotlin, Groovy, JShell, and .jbang scripts first-class citizens in IntelliJ IDEA.
It uses jbang info tools as the single source of truth — no module mutation, no Gradle/Maven modification.
Install
From Marketplace:
- Settings → Plugins → Marketplace → search "JBang" → Install
- Restart IntelliJ IDEA
- Open a folder with JBang scripts — the plugin auto-detects and syncs
Early Access (EAP channel):
- Settings → Plugins → ⚙ → Manage Plugin Repositories…
- Add:
https://plugins.jetbrains.com/plugins/eap/18257 - Search "JBang" in Marketplace and install
The EAP channel receives every release, giving you the latest features before they hit stable.
Requirements
- IntelliJ IDEA 2026.2 or newer
- JBang CLI installed — or let the plugin install it from Settings → Tools → JBang
Features
- Multiple JBang roots with isolated classpaths and JDKs
- Completion for directives, Maven coordinates,
//SOURCES,//FILES, and catalog refs - Run and Debug with gutter icons and run configurations
- Per-root
//JAVAJDK registration - Diagnostics for invalid directives, unresolved dependencies, and missing resources
- Create scripts from templates via New → JBang Script
Documentation
Full documentation · JetBrains Marketplace · Source on GitHub
Eclipse
The JBang plugin for Eclipse lets you import and synchronize JBang scripts as projects, with automatic dependency resolution and JDK configuration.
Install
From Eclipse Marketplace:
- Drag the Install button to your running Eclipse, or:
- Help → Eclipse Marketplace… → search "JBang" → Install
Features
- Import JBang scripts as projects (Import Project… → JBang → JBang script)
- Synchronize JBang dependencies to existing projects via right-click
- Automatic JDK configuration from
//JAVA - Annotation processor detection
- Support for
//DEPS,//SOURCES, and@Grab
Documentation
Zed
Zed is a high-performance editor with Java support via Eclipse JDT Language Server. No native JBang plugin yet — use sandbox mode which sets up a temporary project with full classpath:
jbang edit --sandbox --open=zed yourapp.java
Vim/neovim
Vim and neovim support Java via Eclipse JDT Language Server. No native JBang plugin yet — use sandbox mode:
jbang edit --sandbox --open=nvim yourapp.java
Emacs
Emacs supports Java via Eclipse JDT Language Server. No native JBang plugin yet — use sandbox mode:
jbang edit --sandbox --open=emacs yourapp.java
repl.it
repl.it is a free, online code editor that makes it easy to code, compile, run, and share in 50+ programming languages.
JBang template for Repl.it
GitPod
GitPod is a free online IDE that allows you to create a dev environment for any GitHub repository.
JBang container template for GitPod
JDoodle
JDoodle is a free online compiler, IDE and execution environment for Java, C, C++, PHP, Perl, Python, Ruby and many more.
Try JBang on JDoodle
Jupyter Notebook
Jupyter Notebook is an open-source web application that allows you to create and share documents containing live code, equations, visualizations, and narrative text. With the JBang kernel, you can run Java code with JBang directly in Jupyter notebooks.
Installation
Install JupyterLab and the JBang kernel:
# Install JupyterLab (requires Python)
pip install jupyterlab
# Install JBang kernel
jbang install-kernel@jupyter-java --java 25 --enable-preview jbang
Usage
Launch JupyterLab and create a new notebook with the JBang kernel:
jupyter lab
In JupyterLab, create a new notebook and select "JBang" as the kernel. You can now write and execute Java code with JBang directives like //DEPS directly in your notebooks!
Try Online
Want to try it without installing? Use our online Jupyter environment powered by MyBinder.
Learn More
Visit the JBang Jupyter Kernel repository for more details and examples.