tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject newbie: servlet examples work, jsp not
Date Sun, 19 Oct 2003 10:35:34 GMT

i am working in windows xp. i have the jsdk 1.4.1 installed. i also installed 
apache2 and tomcat 4.1 as described in the HowTo:

after installation, i wanted to try the examples at http://localhost/examples.
the servlet examples work, but the jsp examples not. i get the following

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

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
    [javac] Compiling 1 source file

and in the logs i have:

Unable to find a javac compiler; is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

But my Java_Home does point to c:\j2sdk1.4.1
and my classpath does point to c:\j2sdk1.4.1\lib\tools.jar

So, what am i making wrong? thank you in

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message