title: Ensure Java is installed and PATH is set for `java` in Amazon SageMaker Jupyter Notebook
body: <p>I am importing the tabula library and when I call this library's methods, I receive the following error in SageMaker.</p>
  <pre><code>JavaNotFoundError: `java` command is not found from this Python process.Please ensure Java is installed and PATH is set for `java`
  </code></pre>
  <p>How can I install Java to SageMaker?</p>
  <p>Below is my code:</p>
  <pre><code>import tabula
  pdf_path = &quot;https://github.com/chezou/tabula-py/raw/master/tests/resources/data.pdf&quot;
  dfs = tabula.read_pdf(pdf_path, stream=True)
  </code></pre>
  <p>Once I enter in this code, I receive the error message that SageMaker does not have Java.</p>