基础服务系列-Jupyter Notebook 支持Java

2021-12-28 10:41:58 浏览数 (1)

A Jupyter kernel for executing Java code. The kernel executes code via the new JShell tool.

Download zip

wget https://github.com/SpencerPark/IJava/releases/download/v1.3.0/ijava-1.3.0.zip

unzip

unzip ijava-1.3.0.zip

install

python3 install.py --sys-prefix

代码语言:javascript复制
install.py:169: DeprecationWarning: replace is ignored. Installing a kernelspec always replaces an existing installation
  replace=args.replace
Installed java kernel into "/usr/local/share/jupyter/kernels/java"
[root@iZm5ebatmxqsalaxch02a7Z ~]# jupyter kernelspec list
Available kernels:
  java       /usr/local/share/jupyter/kernels/java
  python3    /usr/local/share/jupyter/kernels/python3

Reference

SpencerPark/IJava

0 人点赞