Skip to content

Instantly share code, notes, and snippets.

@ImMALWARE
Created November 7, 2023 12:35
Show Gist options
  • Save ImMALWARE/09a956cfbe10dd3b3f6e36a6d3688282 to your computer and use it in GitHub Desktop.
Save ImMALWARE/09a956cfbe10dd3b3f6e36a6d3688282 to your computer and use it in GitHub Desktop.
Java.ipynb
Display the source blob
Display the rendered blob
Raw
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": [],
"authorship_tag": "ABX9TyNv3lgLQesWZCn91g5OufDk",
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/gist/ImMALWARE/09a956cfbe10dd3b3f6e36a6d3688282/java.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "U00Wg38Nw-xr"
},
"outputs": [],
"source": [
"%%sh\n",
"# Install java kernel\n",
"wget -q https://github.com/SpencerPark/IJava/releases/download/v1.3.0/ijava-1.3.0.zip\n",
"unzip -q ijava-1.3.0.zip\n",
"python install.py\n",
"\n",
"# Install proxy for the java kernel\n",
"wget -qO- https://gist.github.com/SpencerPark/e2732061ad19c1afa4a33a58cb8f18a9/archive/b6cff2bf09b6832344e576ea1e4731f0fb3df10c.tar.gz | tar xvz --strip-components=1\n",
"python install_ipc_proxy_kernel.py --kernel=java --implementation=ipc_proxy_kernel.py"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment