Problems with Sun One Web Server 6.1 with SP1

I get errors while compiling my JSP files on SUN one Web Server which is deployed on Solaris 9. it states that cannot compile JSP pages. here is the stack trace that i get.

[03/Feb/2007:19:11:17] warning ( 354): CORE3283: stderr: java.lang.NoClassDefFoundError: com/sun/tools/javac/Main

[03/Feb/2007:19:11:17] warning ( 354): CORE3283: stderr: at org.apache.jasper.compiler.SunJava14Compiler$JavacTask.run(SunJava14Compiler.java:207)

[03/Feb/2007:19:11:17] failure ( 354):for host 192.168.123.2 trying to GET /reports1/jsp/common/ClientInstall.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service()for servlet jsp threw exception

org.apache.jasper.JasperException: WEB4000: Unable to compileclassfor JSP

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)

at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:756)

at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:616)

at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401)

at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)

at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)

at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)

at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)

Please help. The Java version i am using is j2sdk1.4.2_08.

[2242 byte] By [sumitcool2a] at [2007-11-26 17:12:43]
# 1
The Machine where i have the Sun Web Server installed in a Sunfire V240 Sparc Machine. The classpath has been set properly.Message was edited by: sumitcool2
sumitcool2a at 2007-7-8 23:40:36 > top of Java-index,Web & Directory Servers,Web Servers...
# 2

It looks like the Web Server has somehow been configured to use a JRE. Web Server requires a JDK. The following message in particular indicates that a JRE, not a JDK, is being used:java.lang.NoClassDefFoundError: com/sun/tools/javac/MainAre you using the JDK that shipped with Web Server, or did you attempt to configure Web Server to use a different JDK?

elvinga at 2007-7-8 23:40:36 > top of Java-index,Web & Directory Servers,Web Servers...