Skip to content

Commit 4c27b7e

Browse files
authored
resolve IJava kernel stuck at "Connecting" in Google Colab (#211)
1 parent 297b038 commit 4c27b7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/colab_build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ apt-get install -q openjdk-11-jdk-headless &> /dev/null
66
echo "Install Jupyter java kernel..."
77
curl -L https://github.com/SpencerPark/IJava/releases/download/v1.3.0/ijava-1.3.0.zip -o ijava-kernel.zip &> /dev/null
88
unzip -q ijava-kernel.zip -d ijava-kernel && cd ijava-kernel && python3 install.py --sys-prefix &> /dev/null
9+
wget -qO- https://gist.github.com/SpencerPark/e2732061ad19c1afa4a33a58cb8f18a9/archive/b6cff2bf09b6832344e576ea1e4731f0fb3df10c.tar.gz | tar xvz --strip-components=1
10+
python install_ipc_proxy_kernel.py --kernel=java --implementation=ipc_proxy_kernel.py
911
cd ..
1012
git clone https://github.com/deepjavalibrary/d2l-java &> /dev/null
1113
cp -r d2l-java/utils ../

0 commit comments

Comments
 (0)