Unable to find a javac compiler... HELP

I previewed the web page I'm makingwith dreamweaver but this error page appeared...

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)

org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:439)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

Unable to find a javac compiler;

com.sun.tools.javac.Main is not on the classpath.

Perhaps JAVA_HOME does not point to the JDK

org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:105)

org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:929)

org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)

org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:407)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.

Please help me because I really don't have a knowledge in java, I was just learning it by myself...

Thanks for all your kindness and be advice to hold your temper for my stupidity in java....

[2565 byte] By [naggworma] at [2007-10-2 10:49:14]
# 1
Make sure that you hava installed a Java Development Kit (SDK or JDK, depending on Java version) that contains the javac.exe file, and set the computer's environment variable JAVA_HOME so that it points to the directory that the Development Kit is installed in.
ChuckBinga at 2007-7-13 3:06:17 > top of Java-index,Developer Tools,Java Compiler...
# 2
i did that but i get the same error...i read some forum about thiks error but i dot know how to do that...how to paste tools.jar to the $Tomcat_Home/common/lib ?
naggworma at 2007-7-13 3:06:17 > top of Java-index,Developer Tools,Java Compiler...