Last active
September 29, 2024 21:29
-
-
Save tueda/a200b3f747d0fc864be8b4dd09be5a1e to your computer and use it in GitHub Desktop.
Java-Colab.ipynb
For reference, nowadays the easiest way to run Java on Colab would be:
- Copy and paste 4 lines in https://github.com/jupyter-java#installing-in-online-jupyter-notebooks, and run them.
- Change runtime type to
java (IJava/j!)
.
Then the above examples work well (including %maven ...
).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the answer in https://stackoverflow.com/a/74821762 and try his notebook https://colab.research.google.com/gist/SpencerPark/447de114fcd3e6a272dc140809462e30.