title: No compiler is provided in this environment with jenkins
body: <p>I'm getting this error when I try a <strong>Jenkins</strong> build on a <strong>maven</strong> project:</p>
  
  <pre><code>No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
  </code></pre>
  
  <p>The <strong>java</strong> and <strong>maven</strong> plugin are installed automatically, after several research, I couldn't find a solution!</p>
  
  <p>Does anyone have ever face this issue?</p>