JBang IDE Support

VSCodium Visual Studio Code IntelliJ Eclipse Zed Vim/neovim Emacs repl.it GitPod JDoodle Jupyter Notebook

VSCodium

VSCodium is a community-driven, freely-licensed binary distribution of Microsoft's editor Visual Studio Code. Providing all the lightweight editor features you need to get started.

jbang edit will by defaut install VSCodium; a free distribution of Visual Studio Code. It provides a good default set of extensions to have it configured to use with Java/JBang.

JBang is in Open VSX Registry

Visual Studio Code

Visual Studio code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux.

JBang is on Visual Studio Marketplace

IntelliJ

IntelliJ IDEA is a very popular Java IDE. Has a lot of features; especially when it comes to refactoring and code assists.

JBang is on Jetbrains Marketplace

Eclipse

Eclipse is a popular opensource Java IDE. Has a large ecosystem of plugins and is 100% free to use.

JBang is on Eclipse Marketplace

Zed

Zed is a high-performance editor with support for Java using Eclipse JDT Language Server.

No native JBang support yet, thus simplest way is to use sandbox mode: jbang edit --sandbox --open=zed yourapp.java.

Vim/neovim

Vim and neovim are highly configurable text editors built to enable efficient text editing. Supports Java with Eclipse JDT Language Server.

No native JBang support yet, thus simplest way is to use sandbox mode: jbang edit --sandbox --open=nvim yourapp.java.

Emacs

Emacs is an extensible, customizable, free/libre text editor and computing environment. Supports Java with Eclipse JDT Language Server.

No native JBang support yet, thus simplest way is to 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.