title: org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
body: <p>Before posting this question here: I looked up at </p>
  
  <p>1)<a href="https://stackoverflow.com/questions/13608539/glassfish-3-1-2-2-in-idea-11-1-4-pwc6345-there-is-an-error-in-invoking-javac">Glassfish 3.1.2.2 in IDEA 11.1.4: &quot;PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required&quot;</a></p>
  
  <p>2) <a href="https://stackoverflow.com/questions/10444959/how-do-i-specify-the-jdk-for-a-glassfish-domain">How do I specify the jdk for a glassfish domain?</a></p>
  
  <p>3) <a href="http://alvinalexander.com/blog/post/java/fixing-glassfish-jdk-path-problem-solved" rel="nofollow noreferrer">http://alvinalexander.com/blog/post/java/fixing-glassfish-jdk-path-problem-solved</a></p>
  
  <p>4) <a href="https://www.java.net//node/702274" rel="nofollow noreferrer">https://www.java.net//node/702274</a></p>
  
  <p>5) <a href="https://stackoverflow.com/questions/9113346/pwc6345-there-is-an-error-in-invoking-javac-error-when-using-jetty-wtp-plugi">&quot;PWC6345: There is an error in invoking javac.&quot; error when using Jetty WTP plugin to deploy a JSP page on Jetty</a></p>
  
  <p>I am able to open the glassfish admin window in eclipse, but when I am trying to run my project, I get this annoying error:
  "org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac.  A full JDK (not just JRE) is required"</p>
  
  <p>I looked at the above listed posts, but werent useful in my case...I have my java environment set..</p>
  
  <p>But They Did not solve my problem. I still get the error as in the heading, there is already a question posted on a similar one, but doesnt have an answer I require....</p>