Tomcat needs the tools.jar(For Sun JDK) in Tomcat classpath. Usually this is placed in the TOMCAT_HOME\common\lib directory. If it is not there then copy it to there from JAVA_HOME\lib directory. Restart Tomcat and try the JSP page.
rgds Antony Paul On Mon, 18 Oct 2004 17:38:07 +0200, Andrea Mennini <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to run this silly hello.jsp, just to be sure tomcat 5.0.28 is > running under win2k: > > ======= > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <!-- > Simple HTML file to test server setup and configuration. > > Taken from More Servlets and JavaServer Pages > from Prentice Hall and Sun Microsystems Press, > http://www.moreservlets.com/. > (C) 2002 Marty Hall; may be freely used or adapted. > --> > <HTML> > <HEAD><TITLE>JSP Test</TITLE></HEAD> > <BODY BGCOLOR="#FDF5E6"> > <H1>JSP Test</H1> > Time: <%= new java.util.Date() %> > </BODY> > </HTML> > ======= > > When I run it, I receive a message like this one: > > ======= > 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 > > ======= > > I've got a command line and typed %JAVA_HOME%\bin\javac, and javac is run. > > What am I doing wrong? > > TIA > > -- > > Andrea > > ICQ:5459894 > Registered Linux User #24583 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
