Unleash the power of Java in Jupyter notebooks.
This project packages a Java Jupyter kernel powered by org.dflib.jjava:jjava-kernel and embraces the JBang ethos: fast starts, simple dependency management, and a great developer experience.
-
Easy dependency management with Maven coordinates and JBang-friendly conventions
-
Modern Java experience in Jupyter (Java 17+)
-
Built on
jjava-kernelfor robust protocol handling, with room for JBang niceties
This repo provides a working kernel launcher and sample configuration. Expect iteration as we smooth the developer and user experience.
-
JBang (https://jbang.dev)
-
Install as a Jupyter kernelspec
You can use https://github.com/jupyter-java install-kernel script to install this kernel.
This will install the default kernel to the default location.
jbang install-kernel@jupyter-java jbangThis will install the kernel from your local built version.
jbang install-kernel@jupyter-java --script-ref=dev.jbang:jbang-jupyter:0.1.0-SNAPSHOT:fatjar@fatjar jbangThis will print out where it installed the kernel. You can manually tweak the kernel.json if needed.
i.e. if you want to attach a debugger to the kernel add --debug=suspend=n