Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Install Jupyter-Scala for JupyterLab

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

Note: Apache Toree is a better alternative than Jupyter Scala. It is suggested that you use Apache Toree instead of Jupyter Scala.

You can install Jupyter Scala following the steps below.

  1. Make sure Java and Scala are installed.

     sudo apt install openjdk-8-jdk scala
  2. Download coursier and move it to a searchable path. I place it in $HOME/bin which I have included in $PATH.

     curl -L -o coursier https://git.io/vgvpD && chmod +x coursier 
  3. Clone the jupyter-scala repository.

     git clone git@github.com:alexarchambault/jupyter-scala.git
  4. Run the following command insider the directory to insall Jupyter Scala.

     ./jupyter-scala

    You might have issues due to no permission to create directories/files under $HOME/.local/share/jupyter. If that happens, change the permission of the directory and try again.

     sudo chmod -R 777 $HOME/.local/share/jupyter