SpencerPark / IJava

A Jupyter kernel for executing Java code.
MIT License
1.07k stars 211 forks source link

Google Colab IJava Notebook stuck at "Connecting..." #138

Open thomers opened 1 year ago

thomers commented 1 year ago

I was informed by a student of mine that all my notebooks stopped connecting, after the initial IJava installation and browser page refresh.

What used to work:

Execute this first cell

!wget https://github.com/SpencerPark/IJava/releases/download/v1.3.0/ijava-1.3.0.zip !unzip ijava-1.3.0.zip !python install.py --sys-prefix

Wait for the Installed java kernel into "/usr/share/jupyter/kernels/java"message,

Refresh the browser page,

Execute any cell with Java code and get Java output.

Now, I can execute the first cell and get the "Installed java kernel" message, but after refreshing the page, the status of the notebook is stuck at "Connecting" forever.

image

I'm using Google Colab for free, but since the initial installation works, and the notebook status is "Connected" before the page is refreshed, this should not be the problem.

Any idea what has been changed, and how I can get my Java notebooks to connect again?

Thanks, Tom

thomers commented 1 year ago

Is this related? #133

thomers commented 1 year ago

Here's the question on SO with a bounty:

https://stackoverflow.com/questions/74674688/google-colab-notebook-using-ijava-stuck-at-connecting-after-installation-ref/74709951#74709951