Question: can jupyter notebook run java?
Answer: Yes. There are two options by which the java kernel can be added to a Jupyter Notebook. 2) scijava-jupyter-kernel (polyglot kernel associated with ImageJ). Both of these are in development, and have installation instructions on the relevant GitHub sites.