GithubHelp home page GithubHelp logo

onelittlenightmusic / java9_kernel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bachmann1234/java9_kernel

0.0 2.0 3.0 678 KB

An ipython kernel for java 9

License: Apache License 2.0

Python 100.00%

java9_kernel's Introduction

java9_kernel (forked for working with OpenJDK)

An ipython kernel for java 9 openjdk.

Expectation Setting

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.

Requirements

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

Installing the kernel

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"

java9_kernel's People

Contributors

bachmann1234 avatar bryant1410 avatar dsblank avatar onelittlenightmusic avatar tkhdfz avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.