An ipython kernel for java 9 openjdk.
This is an experimental ipython kernel written with an experimental repl written for a unreleased java version. Don't expect this to be production ready.
Install [java9-openjdk]
This kernel expects two environment variables defined, which can be set in the kernel.json (described below):
JAVA_9_HOME - like JAVA_HOME but pointing to a java 9 environment
Assuming you have cloned the repo and got all the requirements above setup
edit kernel.json replacing PATH_TO_javakernel to the location of the javakernel directory
mkdir ~/.ipython/kernels/java/
cp <location of your edited kernel.json> ~/.ipython/kernels/java/
For example a kernel.json might look like this:
{
"argv": ["python3", "<javakernel_path>",
"-f", "{connection_file}"],
"display_name": "Java 9",
"language": "java",
"env" : {
"JAVA_9_HOME": "<java_path>",
}
}
If all worked you should be able to run the kernel:
[1] String a = "test"
| Added variable a of type String with initial value "test"