Search code examples
javapythongoogle-cloud-datalab

Google Datalab: Java not installed


I am trying to utilize the H2O package in a Jupyter notebook running in the Google Datalab hosted on GCP and am getting the error that Java isn’t installed. I’ve searched the documentation but haven’t found any solutions. Appreciate any ideas. Thanks


Solution

  • Java is not installed in the Datalab Docker container. You'll either need to install it after startup or create a custom Docker container using the Datalab one as a base image, as in Option 3 here: https://cloud.google.com/datalab/docs/how-to/adding-libraries