The initial index.jsp page is not working. The example jsp pages are also not working. But the index.html page that we get after installation of Tomcat is working. Also servlets are working.
This clearly shows that Tomcat can't find the javac compiler which comes in the tools.jar file of a typical SDK installation.
This might occur if you have JAVA_HOME pointing to a JRE installation directory instead of a SDK -or- if you don't have JAVA_HOME set and the startup script finds a JRE first. (JRE =
Java Runtime Environment which does not include tools.jar)
1. Which version of the Java SDK do you have installed?
2. What is your JAVA_HOME environment variable setting?
3. Which operating system?
Bill