title: Spring STS - Maven build error - No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? Spring
body: <p><a href="https://i.stack.imgur.com/cF0Ma.png" rel="nofollow noreferrer">Installed JRE pointing to JDK</a> &amp;   <a href="https://i.stack.imgur.com/ApbF1.png" rel="nofollow noreferrer">Libraries pointing to jre</a>[Please note- there solutions out there Eclipse, but I'm using Sprint STS]
  Spring Tool Suite Version: 3.9.3.RELEASE 
  Apache Maven 3.2.5
  Java- 10.0.1
  OS - Windows 10
  Tomcat 8.5</p>
  
  <p>I have already verified Installed JRE has a JDK entry. Have verified JAVA_HOME and Path environment variables. </p>
  
  <p>Maven Clean &amp; Validate works. Maven Compile does not work. 
  Gives me error - "No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? "</p>
  
  <p>Can someone please help?</p>