title: how to import java packages in a java core Jupyter Notebook
body: <p>I'm trying to execute java code from a github repository in google colab,I know that google colab is for python by default so I installed <a href="https://github.com/SpencerPark/IJava" rel="nofollow noreferrer">the ijava library</a> on to the Jupyter notebook using the commands:</p>
  <pre><code>!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
  </code></pre>
  <p>after I changed the Jupyter notebook configurations as follows:</p>
  <pre><code>{
    &quot;nbformat&quot;: 4,
    &quot;nbformat_minor&quot;: 0,
    &quot;metadata&quot;: {
      &quot;colab&quot;: {
        &quot;name&quot;: &quot;example.ipynb&quot;,
        &quot;provenance&quot;: []
      },
      &quot;kernelspec&quot;: {
        &quot;name&quot;: &quot;python3&quot;---&gt;&quot;java&quot;,
        &quot;display_name&quot;: &quot;python3&quot;---&gt;&quot;java&quot;
      },
      &quot;language_info&quot;: {
        &quot;name&quot;: &quot;python&quot;
      }
    },
    &quot;cells&quot;: [
      {
        &quot;cell_type&quot;: &quot;code&quot;,
        &quot;execution_count&quot;: null,
        &quot;metadata&quot;: {
          &quot;id&quot;: &quot;NzKT3-VExE4i&quot;
        },
        &quot;outputs&quot;: [],
        &quot;source&quot;: [
          &quot;&quot;
        ]
      }
    ]
  }
  </code></pre>
  <p>After these changes I was able to run java in that Jupyter notebook, so I put this ipynb file inside my java netbeans project in the same package as my main file but when I try to import a package from that project I get an error that the package isn't defined, so how can I import packages from my java github repo inside the ipynb file?</p>