>From the Tomcat 5.0 setup page: http://tomcat.apache.org/tomcat-5.0-doc/setup.html
"Java location: The installer will use the registry or the JAVA_HOME environment variable to determine the base path of the JDK or a JRE. If only a JRE (or an incorrect path) is specified, Tomcat will run but will be unable to compile JSP pages at runtime. Either all webapps will need to be precompiled (this can be easily done using the Tomcat deployer), or the lib\tools.jar file from a JDK installation must be copied to the common\lib path of the Tomcat installation." Using the JAVA_HOME on my windoze box didn't work and I ultimately copied the tools.jar file, which worked. Now I just have to remember I did that in the future. Leo D -----Original Message----- From: Randy Paries [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 11:19 AM To: users@tomcat.apache.org Subject: [SPAM:] - tomcat , wondoze , Unable to find a javac compiler; - Email has different SMTP TO: and MIME TO: fields in the email addresses unfortuntaly i have to setup tomcat on windoze. i have it working on tons of linux boxs, and this has been a royle pain. Ok enough whinning. so when i try to display a jsp is get the error 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 in the tomcat monitor i have "Use default" selected in the XP env vars i have CLASSPATH = C:\Program Files\Java\jdk1.5.0_04\lib JAVA_HOME = C:\Program Files\Java\jdk1.5.0_04 so what have i missed Thanks --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]