Error : PWC6345: There is an error in invoking javac.
I am using Glassfish v3 bundle with Netbeans 6.8. I have wrote JSP application to read data from MySQL and successfully done. I have created the jdbc-resource and jdbc-connection-pool via IDE. I can run the application with no error at all.
Now I try to start the Glassfish without Netbeans. I can do it with CLI start-domain. The glassfish is running (i can open the admin console). From admin console, I can see the jdbc-resource and jdbc-connection-pool is there. Also the application that I have deployed using Netbeans. But when i try to run the application, i kept getting this error.
org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required.
After reading from some mailing-list, I have put the jdk into my PATH. But still the error is there.
Can somebody give me solution to this?