Also make sure no spaces in path like Program Files..... ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, September 12, 2003 1:25 PM Subject: RE: Tomcat 5.0 install - Please Help
> > 1. Make sure the following environment variables are set correctly: > > >>> JAVA_HOME points to "C:\j2sdk1.4.2" (correct folder if changed) > >>> CLASSPATH points to %JAVA_HOME%\lib > >>> PATH points to %JAVA_HOME%\bin > > 2. copy $JAVA_HOME/lib/tools.jar to the common/lib directory of the Tomcat > server > 3. Update your registry to reflect the new JVM location: > > key: HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Apache > Tomcat/Parameters/JVM Library > value: C:\j2sdk1.4.2\jre\bin\server\jvm.dll > > Hope this helps, > -Prashant > > > > > > |---------+----------------------------> > | | "Giri Gopal" | > | | <[EMAIL PROTECTED]| > | | .com> | > | | | > | | 09/12/03 03:01 PM| > | | Please respond to| > | | "Tomcat Users | > | | List" | > | | | > |---------+----------------------------> > >--------------------------------------------------------------------------- ---------------------------------------------------| > | | > | To: "Tomcat Users List" <[EMAIL PROTECTED]> | > | cc: | > | Subject: RE: Tomcat 5.0 install - Please Help | > >--------------------------------------------------------------------------- ---------------------------------------------------| > > > > > Hello: > > O.K I uninstalled the JDK stuff and Tomcat 5.0. Reinstalled Java 2SDK > 1.4.2. > and trying to install Tomcat 5.0. I get an error message stating Java > Virtual Machine not found?. > > Now what do I do? I installed the JVM from Microsoft site, reboot my PC and > still getting the same error. Please Help. > > > > Thanks > Giri Gopal > > -----Original Message----- > From: Jacob Kjome [mailto:[EMAIL PROTECTED] > Sent: Friday, September 12, 2003 10:19 AM > To: Tomcat Users List > Subject: Re: Tomcat 5.0 install - Please Help > > > > First, install your JDK to the root of the C: drive, not under Program > Files. Spaces in the path mess things up usually. Second, it is > JAVA_HOME, not Java_Home. And do you have %JAVA_HOME%\bin in your system > "Path" variable? > > Jake > > At 08:38 AM 9/12/2003 -0500, you wrote: > >I downloaded Tomcat 5.0. Installed on W2K machine. Tomcat Starts O.K. I am > >able to test all the samples and works fine. I create a simple JSP page > and > >I get the following error. > > > > > >org.apache.jasper.JasperException: Unable to compile class for JSP > > > >No Java compiler was found to compile the generated source for the JSP. > >This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar > from > >the JDK > >to the common/lib directory of the Tomcat server, followed by a Tomcat > >restart. > >If using an alternate Java compiler, please check its installation and > >access path. > > > > > >org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandl > > e > >r.java:128) > > > >org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java: > > 3 > >07) > > > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:460) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:444) > > > >org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java: > > 6 > >03) > > > >org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java: > > 3 > >00) > > > >org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:294) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > > > > > > > >I have installed Java 2SDK 1.4.2. I am also new to the java stuff. How do > I > >ensure the class path stuff is correct?. My class path is under user > >variables, should it be in system variables?. The System Variables > >Java_Home shows as: c:\program Files\j2sdk_nb\j2sdk1.4.2\bin. Is this > >correct. Where can I find some sample JSP pages and servlets written to > >access oracle db and the setup required for Tomcat? > > > >Can some one please help. > > > > > >Thanks > >GG > > > > > >--------------------------------------------------------------------- > >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] > > > --------------------------------------------------------------------- > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
