title: Ubuntu 18.04/Netbeans 10.0 Fatal Error: Unable to find package java.lang in classpath or bootclasspath
body: <p>First, I work on Ubuntu 18.04 with netbeans 10.0 and open JDK 11. When I create a basic new project, alerts directly triggered.</p>
  
  <pre><code>cannot access java.lang
  Fatal Error: Unable to find package java.lang in classpath or 
  bootclasspath
  </code></pre>
  
  <p>I tried to uninstall/install netbeans and openJKD 11 but nothing work.</p>
  
  <p>I looked on lots of forums discussions with this kind of problem but nothing work.
  For information, </p>
  
  <pre><code>xxx:~$java -version
  </code></pre>
  
  <p>gives </p>
  
  <pre class="lang-sh prettyprint-override"><code>openjdk version "11.0.3" 2019-04-16
  OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1)
  OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode, sharing)
  </code></pre>
  
  <p>i don't know what i'm missing, if someone can help me...</p>