Skip to content
Advertisement

Using Jupyter notebook for Java

I’ve used the Jupyter notebook quite a lot for my Python projects, but now I have to work on something in Java. So I was wondering if I could get Jupyter to work with Java?

After some searching I think I understand that you can install different kernels for other languages, with a list of kernels here. But I don’t see one for Java there. The reason I think there is a working solution is this notebook, showing of a Java 9 notebook. Does anyone know how to set this up?

I’m on macOS Sierra if it matters.

Advertisement

Answer

IJava available at https://github.com/SpencerPark/IJava requires JDK 9. The build process for my iMac (MacOS 10.13.5) worked like a charm and within 10 minutes, I could start programming interactively in Java within Jupyter.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement